lilypond-user
[Top][All Lists]

Re: Help with Tweaking of Volta Brackets - without repeat marks

 From: Phil Holmes Subject: Re: Help with Tweaking of Volta Brackets - without repeat marks Date: Fri, 14 May 2010 13:10:51 +0100

----- Original Message ----- From: "James Lowe" <address@hidden>
To: "Phil Holmes" <address@hidden>
Sent: Friday, May 14, 2010 12:39 PM
Subject: Re: Help with Tweaking of Volta Brackets - without repeat marks


Phil,

Phil Holmes wrote:

James,


I'm by no means an expert on LilyPond or music, but can offer the following
observations:


You can get rid of the error message by ending the first volta with a finish
marking.  If you replace your second \set Score command with:

\set Score.repeatCommands = #'((volta #f) (volta "Fine."))




It will compile cleanly.  However, you won't get the ending lines you're

looking for. I think that this is because you're not actually signalling a repeat from a musical perspective. My understanding from playing with this
in LilyPond is that the double bar is not a repeat mark, and therefore

LilyPond has not found anywhere to actually terminate that section of music. Replace your \bar "||" with \bar ":|" and you get the "terminated" bracket
you're looking for.  Ditto the second repeat isn't actually (in musical

terms) terminated - the music carries on past the 4th bar into the 5th. If
you want a "terminated" bracket on the second time, you need to align the

end of the bracket with where the music ends, and tell LilyPond explicitly
where this is.  I do this with an end bar.


My version below isn't what you want, because it uses repeat bars where you have double bars, but it is musically correct and ends the brackets as you
want.

\relative c' {
\time 4/4
d'4. c8 b a g f
\set Score.repeatCommands = #'((volta "1."))
e4 e' e r
\set Score.repeatCommands = #'((volta #f) (volta "Fine.") end-repeat)
e,4 e e r \bar "||"
c'4 c8 c c4 c8 c
\set Score.repeatCommands = #'((volta #f))
\bar "|."
}

--
Phil Holmes



Thanks for your time. That does help explains things; I don't really fully understand syntax of these 'tweaks', maybe there is an alternative to 'end-repeat' that just 'ends' the bracket regardless.


In this case the end bar is incorrect in this piece at the 'fine' which is why it has double bars, and as I said before the repeats are not relevant either.


Perhaps I could remove the repeat bar engraver or make it invisible so that it prints the voltas right but 'hides' the repeats?


Again that is something I need to sit and figure out as I rarely have to make such tweaks so have to re-learn it each time on the rare occasions I do it.

Thanks again.

James




As I said, James, I'm a bit dubious about the layout of the music. The voltas are alternative endings, and from my musical theory I would say don't indicate a repeat. The double dotted bar indicates a repeat, and so is required when a piece of music is repeated. That's what I would have thought, anyway.

--
Phil Holmes