[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: repeat ottava
From: |
David Kastrup |
Subject: |
Re: repeat ottava |
Date: |
Tue, 28 Feb 2017 18:31:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Gianmaria Lari <address@hidden> writes:
>>> I have a fragment that needs to be repeated twice with alternate ending
> and
>>> the second time one octave higher. The following is an example that would
>>> be ok...
> [....]
>> Let's just cheat.
>>
>> \version "2.19.52"
>>
>> \score {
>> {
>> \mark "2nd time 8va"
>> \repeat volta 2 {c' d' e' f'}
>> \alternative {{a a a a}{\transposition c'' b b b b \transposition c'}}
>> }
>> \layout {}
>> \midi {}
>> }
>
> :))))
>
> It works with the alternative - b b b b - that gets correctly transposed
> but it doesn't with the repeat body - c' d' e' f' -. Do I miss anything?
Well, this was more a sketch of the functionality to use than a sane
proposal. If you are going to use \expandRepeats, you'll likely want to
order this as
\score {
{
\mark "2nd time 8va"
\repeat volta 2 {c' d' e' f'}
\alternative {{a a a a \transposition c''}{b b b b \transposition c'}}
}
\layout {}
\midi {}
}
instead, namely setting up the "transposition" for the next repeat at
the end of the preceding alternative.
--
David Kastrup