Bernhard Kleine:
> This snippet compiles with a  warning which I donot understand. in the 
> soprano voice it is ok, but not in the alto voice. Is anybody able to 
> explain?

 Just read the error message.

t2.ly:47:6: warning: missing volta specification on alternative element

 You are missing a "\repeat volta 2".

 Have a look at:
https://lilypond.org/doc/v2.26/Documentation/notation/long-repeats#alternative-endings

 for the soprano you have something like:
> soprano = \relative c'' {
...
>    \repeat volta 2 {
...
>    f2 f2 f2. f4 ges2 ges | f2. h4\rest }
 ****  the above "}" should be placed
>    \alternative {
>      {b1 | as2. as4| ges1| f2. }
>      { f2 (ges4 as) }
>    }
 **** here.
...
> }


> alto = \relative c' {
>    \global
>    % Die Noten folgen hier.
 **** you are missing a "\repeat volta 2 {" here
>    f4 | f1 |ges4 f2 des4 | des1 | des4 des2 des8 des |  es4 c4 des es 
> |des4 des2 f8 f |es4 es es es | es2. c4|
>    c c c c | des4. des8 des4 des | des2 ~ des | c2. c4 des2 des | des2. 
> d4 | es2 c2 | des2. s4
> 
>    \alternative {
>      { des1 | des2. d4 | des2 (c) | des2. }
>      { R1 }
>    }
 **** and the "}" to end the "\repeat" part.
>    des2 (es4 f) | f2. (des4)| es2 (b'4 as) | as2 (ges4 f) |es2 f | des 
> (c) | des1
> }

Regards,
/Karl Hammar



Reply via email to