[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Volta and alternative problems
From: |
Noeck |
Subject: |
Re: Volta and alternative problems |
Date: |
Sun, 07 Dec 2014 23:57:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
Hi,
1) you should put it into one music expression by enclosing everything in braces
{} (but that was not the problem).
2) You had a bar check outside of your repeat syntax. This was interpreted as:
{ repeat music expression } + extra music (bar check |) + { alternative music
expression }
That way, the alternative was decoupled from the repeat.
This works:
\version "2.18.2"
{
\repeat volta 2 {
g8 b c d g, b c d |%9
g,\< a b c\! d\> c e c\! | %10
g b c d g, b c d | %11
g,\< a b c d c e c\! | %12
a 2 <a c> |%13
<g c e>1 |
\clef treble
<f' g,>2 <f g,> | %14
} % here was a bar check that caused the problem
\alternative {
{ c8\( e f g c,4 r4\) }
{ <c e>2 r2 }
}
}
HTH,
Joram