[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with full-measure rests in differently time-scaled staves
From: |
Adam James Wilson |
Subject: |
Re: problem with full-measure rests in differently time-scaled staves |
Date: |
Wed, 19 Sep 2007 15:22:45 -0700 |
Sorry about my previous "garbage" post - I was in a hurry and replied
to a digest email rather than to my previous send.
I had intended to correct the post to which the title of this email
correctly refers: the snippet included with the post actually shows
*9* bars in the space of four, not 3 as I mistakenly wrote originally.
Thanks,
Adam
On 9/18/07, Adam James Wilson <address@hidden> 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
>
>