bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1545 in lilypond: Volta repeat marks are misplaced in some circums


From: lilypond
Subject: Issue 1545 in lilypond: Volta repeat marks are misplaced in some circumstances
Date: Tue, 01 Mar 2011 16:18:03 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Critical Regression

New issue 1545 by address@hidden: Volta repeat marks are misplaced in some circumstances
http://code.google.com/p/lilypond/issues/detail?id=1545

When a volta repeat begins on a staff which subsequently disappears (because there is no music), and there is a tempo marking before the volta marking, the tempo marking pushes the special ending mark to the right. My example below (not terribly tiny, but needed to show the various situations) shows this happening on the first pair of lines, shows the effect of no tempo marking being present, and then shows where the staff does not disappear. This effect was not present in 2.13.31 but appeared before 2.13.34. The images below are of 2.13.51 (bad) and 2.12.3 (good).

\layout {
  \context {
    \RemoveEmptyStaffContext
    \override VerticalAxisGroup #'remove-first = ##t
  }
}
<<
  \new Staff <<
    \relative c' {
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      \set Score.repeatCommands = #'((volta "1"))
      R1 \break \bar ":|"
      \set Score.repeatCommands = #'((volta #f)(volta "2"))
      \time 2/2
      \tempo "Allegro agitato"4=160
      R1
      \set Score.repeatCommands = #'((volta #f))
      R1
      R1 \break
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      \set Score.repeatCommands = #'((volta "1"))
      R1 \break \bar ":|"
      \set Score.repeatCommands = #'((volta #f)(volta "2"))
      R1
      \set Score.repeatCommands = #'((volta #f))
      R1
      R1 \break
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      \set Score.repeatCommands = #'((volta "1"))
      R1 \bar ":|"
      \set Score.repeatCommands = #'((volta #f)(volta "2"))
      \tempo "Allegro different"4=100
      R1
      \set Score.repeatCommands = #'((volta #f))
      R1
      R1
    }
  >>
  \new PianoStaff <<
  \new Staff <<
    \relative c' {
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      c4 c c c \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      c4 c c c \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      c4 c c c \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
    }
  >>
  \new Staff <<
    \relative c' {
      c4 c c c \bar "|:"
      c4 c c c
      R1
      R1 \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
      c4 c c c \bar "|:"
      c4 c c c
      R1
      R1 \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
      c4 c c c \bar "|:"
      c4 c c c
      c4 c c c
      c4 c c c \bar ":|"
      c4 c c c
      c4 c c c
      c4 c c c
    }
  >>



Attachments:
        VoltaProblem13.51.png  43.1 KB
        VoltaProblem12.3.png  41.7 KB




reply via email to

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