|
From: | Phil Holmes |
Subject: | Re: Help with Tweaking of Volta Brackets - without repeat marks |
Date: | Fri, 14 May 2010 13:10:51 +0100 |
To: "Phil Holmes" <address@hidden> Cc: "lilypond-user Mailinglist" <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 followingobservations:You can get rid of the error message by ending the first volta with a finishmarking. 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'relooking for. I think that this is because you're not actually signalling a repeat from a musical perspective. My understanding from playing with thisin LilyPond is that the double bar is not a repeat mark, and thereforeLilyPond has not found anywhere to actually terminate that section of music. Replace your \bar "||" with \bar ":|" and you get the "terminated" bracketyou're looking for. Ditto the second repeat isn't actually (in musicalterms) terminated - the music carries on past the 4th bar into the 5th. Ifyou want a "terminated" bracket on the second time, you need to align theend of the bracket with where the music ends, and tell LilyPond explicitlywhere 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 youwant. \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 HolmesThanks 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
[Prev in Thread] | Current Thread | [Next in Thread] |