lilypond-devel
[Top][All Lists]
Advanced

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

Re: conditional (on-the-fly) music


From: David Kastrup
Subject: Re: conditional (on-the-fly) music
Date: Sun, 11 Jan 2015 16:02:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Dan Eble <address@hidden> writes:

> I’m working on a change that allows this:
>
>   \repeat volta 4 {
>     \conditional #(except-in-nth-volta 3) {
>        c4^"3rd time tacet” …
>     }
>   }
>
> It is engraved normally, but when \unfoldRepeats is used for MIDI
> output, the conditional passage is skipped during the 3rd volta.  It
> does this by checking a new context property that is set in unfolded
> music.

One problem with that is that a repeat iterator offers no guarantee for
staying in a particular context.  It has a notion of a _current_
context, but that notion can change during iteration.

-- 
David Kastrup



reply via email to

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