I answered my own question: it turns out if I set the \time of the offending staff to ["global" voice \time * crosspulse ratio] - in this case 3/8 * 4/9, or 1/6, the full measure rests appear correctly in the lower staff. This gives a time signature of 1/6, but this can easily be replaced with a "dummy" 3/8. Solution below.
\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 1/6 \repeat unfold 9 { R4. \bar "|" } } } >> >> } >> } Best, Adam On 9/18/07, Adam James Wilson <[EMAIL PROTECTED]> wrote: > 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 > > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user