That works for me too. Thanks!
One last detail - I hope - when the difference between the first and
second time involves a whole bar the spanners cannot be seperated by a
transparent bar. In such cases is the following snippet acceptable or is
there another tweak which can be used to seperate them?
................................
\version "2.18.0"
#(allow-volta-hook "|")
music = \relative c''' {
\key c \major
\time 2/4
\bar ".|:"
\repeat volta 2 {
\partial 8 g8
a16. [g32 a16. f32] e8 [c32 a16.]
\set Score.repeatCommands = #'((volta "1."))
a8 a'16. [e32 f16. e32] c32 a16.
\set Score.repeatCommands = #'((volta #f)(volta "2."))
a'16. [g32 a16. e32] c32 [e16. a,16. e'32]
\set Score.repeatCommands = #'((volta #f))
c8 b b[ g']
\break
\set Score.measureLength = #(ly:make-moment 5 8)
a16. g32 a16. f32 e8
\set Score.repeatCommands = #'((volta "1."))
c32 [ a16.]
\once \hide Score.BarLine
\once \hide Score.SpanBar
\set Score.repeatCommands = #'((volta #f)(volta "2.") end-
repeat)
c32 [e16.]
\set Score.repeatCommands = #'((volta #f))
\set Score.measureLength = #(ly:make-moment 4/8)
a,8 a'16. e32 f16. e32 c32 a16.
b16.[ c32 d16. e32] f32 [ a16. e16. b32]
c8 [a] a
}
\break
} % end relative
\score {
\new Staff \music
}
-----
John McWilliam
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Repeat-volta-not-at-beginning-of-piece-doesn-t-get-initial-repeat-bar-line-tp163676p164642.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user