[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with full-measure rests in differently time-scaled staves
From: |
Adam James Wilson |
Subject: |
problem with full-measure rests in differently time-scaled staves |
Date: |
Tue, 18 Sep 2007 21:09:06 -0700 |
Hi folks:
Here's a snippet with two staves: one with four bars of 3/8 and
another with 3 bars of 3/8 in the same time as the first four bars.
I used compressMusic to line them up, and I'm using a global
"breaking" voice (imagine this pattern continuing for page and pages).
The problem is, the full measure rests inside the compressMusic block
are not getting compressed with the rest of the music.
Is there a workaround for this?
%%%% begin example
\version "2.11.32"
#(set-global-staff-size 8)
\paper {
ragged-right = ##t
}
\layout {
\context { \Score
\remove "Timing_translator"
\remove "Time_signature_engraver"
\remove "Default_bar_line_engraver"
\override SpacingSpanner #'uniform-stretching = ##t
\override SpacingSpanner #'strict-note-spacing = ##t
proportionalNotationDuration = #(ly:make-moment 1 64)
}
\context { \Staff
\consists "Timing_translator"
\consists "Time_signature_engraver"
\consists "Default_bar_line_engraver"
}
}
global = { \set Timing.defaultBarType = ""
\repeat unfold 4 { s4. } \bar "" \break
}
\new Score { <<
\new StaffGroup { <<
\new Staff <<
\global
{
\time 3/8
\repeat unfold 4 { R4. \bar "|" }
}
>>
\new Staff <<
\global
{
\compressMusic #'(4 . 9) {
\time 3/8
\repeat unfold 9 { R4. \bar "|" }
}
}
>>
>> }
>> }
%%% end example
PNG attached . . .
Best,
Adam
example.png
Description: PNG image
- problem with full-measure rests in differently time-scaled staves,
Adam James Wilson <=