lilypond-user
[Top][All Lists]
Advanced

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

Re: parallelMusic and repeat


From: Mats Bengtsson
Subject: Re: parallelMusic and repeat
Date: Mon, 07 Dec 2009 10:17:45 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)



-Eluze wrote:

I can use \bar "|:" ":|" for repeats, but I don't know how to set the
alternate endings manually. Any hint?


you could add a further voice taking care of these repeats:

      \\
      {
        \repeat volta 2 {
          s 1 s 1
        }
        \alternative {
          {s 1}
          {s 1}
        }


That's in general a bad idea which may cause unexpected results, as has been discussed earlier on the mailing list. Remember that the general philosophy in LilyPond is that the input primarily describes the musical content, not the layout, so repeats should in general be included in every single voice, since the musical meaning of the repeat is that all the voices should be played twice. However, as an alternative to manually inserting the alternate endings and repeat signs, what you propose is certainly a better option.

  /Mats




reply via email to

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