lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature request: more repeat signs


From: Neil Puttock
Subject: Re: Feature request: more repeat signs
Date: Tue, 18 Nov 2008 19:20:48 +0000

Hi Risto,

2008/11/18 Risto Vääräniemi <address@hidden>:

> I just noticed in the NEWS that this feature has been added too
> Lilypond. I had to test it immediately. :-) There seems to be a small
> problem with manual volta brackets (don't ask me why I used them,
> sometimes a man's got to do what a man's got to do).

Thanks for doing the beta testing. :)

It's fixed in git; I forgot to make sure that the volta bracket checks
for the new barline strings when deciding to hide the right edge.

>  LP complains about:
> warning: already have a volta spanner, ending that one prematurely
>
> That warning also occurs with the default bar line.

I'm not sure why, but I think it's to do with using \bar instead of
start- & end-repeat .  Try this:

\relative c' {
  c1
  \set Score.repeatCommands = #'((volta "1.") start-repeat)
  c
  \set Score.repeatCommands = #'((volta #f) end-repeat start-repeat
(volta "2."))
  c \set Score.repeatCommands = #'((volta #f) end-repeat)  \break

  \set Score.doubleRepeatType = #":|.|:"
  c1
  \set Score.repeatCommands = #'((volta "3.") start-repeat)
  c
  \set Score.repeatCommands = #'((volta #f) end-repeat start-repeat
(volta "4."))
  c \set Score.repeatCommands = #'((volta #f) end-repeat)  \break

  \set Score.doubleRepeatType = #":|.:"
  c1
  \set Score.repeatCommands = #'((volta "5.") start-repeat)
  c
  \set Score.repeatCommands = #'((volta #f) end-repeat start-repeat
(volta "6."))
  c \set Score.repeatCommands = #'((volta #f) end-repeat)  \break
}

>    \set Score.doubleRepeatType = #":|.|:" % unnecessary?

It certainly is if you're using \bar.   Explicit \bar commands
override repeat commands.

Regards,
Neil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]