[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Repeat volta not at beginning of piece doesn't get initial repeat ba
From: |
John McWilliam |
Subject: |
Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line |
Date: |
Thu, 17 Jul 2014 10:29:28 -0700 (PDT) |
I am deeply grateful for sorting out these problems associated with the
bagpipe tune format and in particular those associated with repeats. I have
another irritating glitch in the same grain. A measure can have two
alternative structures depending on whether it is played the first or second
time. This is illustrated in the following snippet. My approach to this
works, however, i get a warning: "already have a volta spanner, ending that
one prematurely" and the second spanner remains open to the right. Any
suggestions will be most welcome.
\version "2.18.0"
music = \relative c''' {
\key c \major
\time 2/4
\bar ".|:"
\set Score.repeatCommands = #'(start-repeat)
\partial 8 g8
a16. [g32 a16. f32] e8 [c32 a16.]
a8 a'16. [e32 f16. e32] c32 a16.
a'16. [g32 a16. e32] c32 [e16. a,16. e'32]
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.]
\set Score.repeatCommands = #'((volta #f))
\set Score.repeatCommands = #'((volta "2.")) 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
\set Score.repeatCommands = #'(end-repeat)
\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-tp163676p164563.html
Sent from the User mailing list archive at Nabble.com.
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line, John McWilliam, 2014/07/14
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line, Thomas Morley, 2014/07/14
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line, Thomas Morley, 2014/07/14
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line, Marc Hohl, 2014/07/15
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line, John McWilliam, 2014/07/15
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line, Paul Morris, 2014/07/15
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line,
John McWilliam <=
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line, Thomas Morley, 2014/07/18
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line, John McWilliam, 2014/07/19
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line, Thomas Morley, 2014/07/26
- Message not available
- Re: Repeat volta not at beginning of piece doesn't get initial repeat bar line, Thomas Morley, 2014/07/15