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
