[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: repeat ottava
From: Gianmaria Lari <gianmarialari () gmail ! com>
Date: 2017-02-28 21:57:14
Message-ID: CAKhGe3zxHHPTCuZ1Y1VAwHhg40moWgjCB6u7mWCsLdy=Y4cHdA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On 28 February 2017 at 18:31, David Kastrup <dak@gnu.org> wrote:
>
> Gianmaria Lari <gianmarialari@gmail.com> 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.
just because you used in both your example the magic "\transposition" I
would not say that your first example was just a "sketch" of what you did
in your last example :)
Anyway, really nice escamotage. I will try to avoid it anytime that's
possible... but not more!
Thanks!!
[Attachment #5 (text/html)]
<div dir="ltr"><br><br>On 28 February 2017 at 18:31, David Kastrup <<a \
href="mailto:dak@gnu.org">dak@gnu.org</a>> wrote:<br>><br>> Gianmaria Lari \
<<a href="mailto:gianmarialari@gmail.com">gianmarialari@gmail.com</a>> \
writes:<br>><br>> >>> I have a fragment that needs to be repeated \
twice with alternate ending<br>> > and<br>> >>> the second time one \
octave higher. The following is an example that would<br>> >>> be \
ok...<br>> > [....]<br>> >> Let's just cheat.<br>> \
>><br>> >> \version "2.19.52"<br>> >><br>> \
>> \score {<br>> >> {<br>> >> \mark "2nd time \
8va"<br>> >> \repeat volta 2 {c' d' e' \
f'}<br>> >> \alternative {{a a a a}{\transposition c'' b b \
b b \transposition c'}}<br>> >> }<br>> >> \layout \
{}<br>> >> \midi {}<br>> >> }<br>> ><br>> > \
:))))<br>> ><br>> > It works with the alternative - b b b b - that gets \
correctly transposed<br>> > but it doesn't with the repeat body - c' \
d' e' f' -. Do I miss anything?<br>><br>> Well, this was more a \
sketch of the functionality to use than a sane<br>> proposal. If you are going \
to use \expandRepeats, you'll likely want to<br>> order this \
as<br>><br>> \score {<br>> {<br>> \mark "2nd time \
8va"<br>> \repeat volta 2 {c' d' e' f'}<br>> \
\alternative {{a a a a \transposition c''}{b b b b \transposition \
c'}}<br>> }<br>> \layout {}<br>> \midi {}<br>> \
}<br>><br>> instead, namely setting up the "transposition" for the \
next repeat at<br>> the end of the preceding alternative.<br><br><div>just because \
you used in both your example the magic "\transposition" I would not say \
that your first example was just a "sketch" of what you did in your last \
example :)</div><div><br></div><div>Anyway, really nice escamotage. I will try to \
avoid it anytime that's possible... but not \
more!</div><div><br></div><div>Thanks!!</div></div>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic