bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1446 in lilypond: \set Timing.measurePosition reports bar chack er


From: lilypond
Subject: Issue 1446 in lilypond: \set Timing.measurePosition reports bar chack errors unless in the final voice
Date: Sun, 12 Dec 2010 17:29:06 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium Warning

New issue 1446 by PhilEHolmes: \set Timing.measurePosition reports bar chack errors unless in the final voice
http://code.google.com/p/lilypond/issues/detail?id=1446

The following code produces errors:

\version "2.13.41"

first = \relative c'' {
  c1 |
  \set Timing.measurePosition = #(ly:make-moment -2 4)
  c2 |
  c1 |
}

second = \relative c' {
  c1 |
  \set Timing.measurePosition = #(ly:make-moment -2 4)
  c2 |
  c1 |
}

third = \relative c''' {
  c1 |
  \set Timing.measurePosition = #(ly:make-moment -2 4)
  c2 |
  c1 |
}

\new Staff <<
  \new Voice {
    \voiceOne {
      \first
    }
  }
  \new Voice {
    \voiceTwo {
      \second
    }
  }
  \new Voice {
    \voiceThree {
      \third
    }
  }


measurePosition.ly:11:5: warning: barcheck failed at: -1/2
  c1
     |

measurePosition.ly:18:5: warning: barcheck failed at: -1/2
  c1
     |

If you comment out the lines

  \set Timing.measurePosition = #(ly:make-moment -2 4)

in First and Second, the errors disappear. Removing the lines in the first 2 voices is a workaround, but the same problem occurs where there is more than one stave (e.g. a normal stave and a tabstaff). Where these both use the same music, it's not possible to put the \set in only the final voice.




reply via email to

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