Hi Risto,

2008/11/18 Risto Vääräniemi <[EMAIL PROTECTED]>:

> 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
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to