|
From: | Alexander Kobel |
Subject: | Re: parallelMusic and repeat |
Date: | Mon, 07 Dec 2009 15:28:51 +0100 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090817) |
Federico Bruni wrote:
Even this (just repeat without alternatives) does not work: \parallelMusic #'(VoiceA VoiceB) { \repeat volta 2 { r4 g' c e ~ | c,1 | e4 g, c e ~ | b1 | } }
Everything inside the \repeat braces is considered as a single music expression, so I'm not surprised if \parallelMusic does not even try to subdivide it.
I can't understand what you mean with "instantiating a \parallelMusic construct for every volta and alternative".
I meant something like the following: \parallelMusic #'(partIA partIB) { ... } \parallelMusic #'(repeatA repeatB) { ... } \parallelMusic #'(altIA altIB) { ... } \parallelMusic #'(altIIA altIIB) { ... } \parallelMusic #'(partIIA partIIB) { ... } voiceA = { \partIA \repeat unfold 2 \repeatA \alternative { \altIA \altIIA } \partIIA } voiceB = { ... } % the same for BIt's ugly, I know - but at least it should work, and as long as you don't have too many repeats, it might be worth it.
Cheers, Alexander
[Prev in Thread] | Current Thread | [Next in Thread] |