lilypond-user
[Top][All Lists]
Advanced

[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 11:10:00 +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...
>
> \version "2.19.52"
>
> \score {
>   {
>     \mark "2nd time 8va"
>     \repeat volta 2 {c' d' e' f'}
>     \alternative {{a a a a}{b b b b}}
>   }
>   \layout {}
> }
>
>
> ...but I need to generate the midi too. What can I do?

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 {}
}

Well, you probably want to have midi-expanded repeats with that, but you
get the drift.

-- 
David Kastrup



reply via email to

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