[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding rests automatically

From: Carl D. Sorensen
Subject: Re: adding rests automatically
Date: Sat, 11 Oct 2008 11:01:20 -0600

On 10/11/08 9:51 AM, "Stefan Thomas" <address@hidden>

> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]