lilypond-user
[Top][All Lists]
Advanced

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

Re: repeat with irregular alternatives


From: Dmytro O. Redchuk
Subject: Re: repeat with irregular alternatives
Date: Thu, 21 Aug 2008 10:24:56 +0300

2008/8/20 fiëé visuëlle <address@hidden>:
> Hello,

> I get (1.-2.) and (3.) alternatives, but I need (1.) and (2.-3.).
> How can I achieve that?
>
> I found the docs on "manual repeat marks"
> (http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Manual-repeat-marks),
> but I'd like to avoid that ugly syntax...

Wild guess.

You can write smth like:
\repeat volta 1 {
        \firstRepeatHere
}
\alternative {
        \alternativeForFirstRepeat
}
% and then
\set Score.repeatCommands = #(list(list 'volta "2-3."))
{ c d e f ees des bes aes }
\set Score.repeatCommands = #'((volta #f) end-repeat)

> I generate my MIDI with \unfoldRepeats - didn't try yet if manual marks
> would work with that.
Mmm... not sure about the best way for midi.

> Greetlings from Lake Constance
> ---
> fiëé visuëlle
> Henning Hraban Ramm
> http://www.fiee.net
> http://angerweit.tikon.ch/lieder/
> https://www.cacert.org (I'm an assurer)

-- 
Dmytro O. Redchuk

reply via email to

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