On 10/11/08 9:51 AM, "Stefan Thomas" <[EMAIL PROTECTED]>
wrote:

> Dear Lilypond users,
> is there possibilitiy to add the rests in the below quoted example not by hand
> but automatically?
>
> \version "2.11.49"
> restmusic = { d8 r d' r fis r d' r  e r d' r a r cis' r }
> \new Staff { \clef bass \key d \major \restmusic }


This can be done through the use of a music function.  You would just pass
the notes to the function, and it would return the rest of the music.

You can read about music functions in the documentation.  See the notation
reference for 2.11, section 6.  Music functions.

Carl



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

Reply via email to