[Top][All Lists]

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

Re: notes that cross barlines display wrong length under \scaleDurations

From: Keith OHara
Subject: Re: notes that cross barlines display wrong length under \scaleDurations
Date: Mon, 16 Sep 2013 05:00:56 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Graham King <kayakfreelunch <at> googlemail.com> writes:

> Adjust the comments at lines 10 and 13 below, to trigger the bug
>  or not, and observe the length of the two notes that cross barlines.
The time signature in the example confuses me.

If I understand you, the problem is that the notes generated by the 
Completion_heads_engraver are printed in agreement with their actual
durations, in a section where \scaleDurations made other notes take
twice the time indicated by the printed notes.

That is, you would want the automatically-split notes on G to print
with durations different than the time they last, under control of 
\scaleDurations, so that they agree with the Bs :

\new Voice \with {
  \remove "Note_heads_engraver"
  \remove "Rest_engraver"
  \consists "Completion_heads_engraver"
  \consists "Completion_rest_engraver"
} \scaleDurations 2/1 {
  b2~b4 b4
  g'2.  b4
  r2.   b4

>  %(by the way, r2*2 is another bug)

I don't see it.  r2*2 should print a half rest but take the duration
of a whole rest, analogous to b8*2/3 b b bring printed as eight-notes
but taking durations of triplet eighth-notes.

reply via email to

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