Paolo Prete <p4olo_pr...@yahoo.it> writes: > I need to create a function that > > accepts some_pitch and some_duration as arguments and prints the > following three notes: > > 1) some_pitch with some_duration > 2) some_pitch with some_duration*2 > 3) some_pitch with some_duration*3 > > > Should I use ly:duration as type of the argument two?
ly:duration? would be the predicate. And yes, definitely. > I can't find documentation for that. > > I use LilyPond 2.12.3 but I can upgrade it if necessary... If you upgrade, you will find both the functionality itself as well as the documentation. I don't quite remember the version; it might be necessary to take one of the 2.15.x releases. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user