Wilbert Berendsen <[EMAIL PROTECTED]> writes:

> Hi all,
>
> this time I am really really delving into LilyPond, I am very much impressed 
> with the notation quality of the recent versions. I am trying to set an organ 
> piece with many repetitive notes in it, and to get a grasp on the underlying 
> structure of Lilypond.
>
> Many measures have note patterns like this one:
>
> e8 g16 e g8 e g16 e g8 e g
>
> so, two notes or chords played alternatively with the rhythm |8 16 16 8 | 8 
> 16 
> 16 8 | 8 8 | (in time 8/8).
>
> What would be an efficient way to create those patterns using a scheme 
> function, so that I could write:
>
>       \pat a c

First step: use \displayMusic, first on your function arguments, then on
the expected result:

  \displayMusic e
  \displayMusic g

  \displayMusic { e8 g16 e g8 e g16 e g8 e g }

Your music function will aim at transforming the formers into the later.

nicolas


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to