Hi Timmy,

the Lilypond Snippets Repository at lsr.di.unimi.it/ is where to search for such functions. In this case, e.g. <http://lsr.di.unimi.it/LSR/Item?id=346> or <http://lsr.di.unimi.it/LSR/Item?id=302>. If you need help on customizing this, please ask the list again.

HTH, Simon

PS. Although version 2.16.2 is still that included in most official packages, it’s highly recommendable to update to 2.18.2 or even 2.19.17, which contain many improvements.

Am 28.03.2015 um 21:01 schrieb Timmy Burch:
I think is probably a painfully simple question, but I am really struggling
to get started with Lilypond, so please take pity! I often have many measures
with the same rhythm but different pitches, and I want to write a function
that takes as arguments the pitches, and returns the formatted measure. An
example of how I want things to work is given below. The two commented lines
are how I want to invoke the function, and I want the output to be the two
lines before the commented lines. This seems like it should be really easy to
do, but I cannot make it happen. Thanks in advance for any help you can
provide.

\version "2.16.2"

\score
{
     \context Staff
     {
         a4 c8 a8 c2 |
         b4 b8 b8 b2 |
         % \mymeasure a c
         % \mymeasure b b
     }
}


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to