Hi James,
forbid_line_engraver did the trick
Yeah!! I didn't even know about this one...
Thanks!
Kostia: I've attached my reformatted version of the shortened version
of your code, applying James's tip. Notice that I abstracted all of
the music into variables, declared before the \score block. I also
moved all of the engraver \remove-ing code to the \layout block -- if
you need those engravers in *other* Staff or Voice contexts (which
aren't currently in the, then you'll need to add them back in, or
move the \remove code *back* to where you originally had them (i.e.,
inside the \score block, where the Staff or Voice is actually
instantiated).
Hope this helps!
Kieren.
___________________________________________
\version "2.11.37"
musicA = \relative c''
{
\time 1/8
\cadenzaOn
\set Staff.timeSignatureFraction = #'(51 . 8)
\compressMusic #'(379 . 51)
{
\repeat unfold 51 { b8 \noBeam \bar "" }
}
}
musicB = \relative c''
{
\time 1/8
\cadenzaOn
\set Staff.timeSignatureFraction = #'(63 . 8)
\compressMusic #'(379 . 63)
{
\repeat unfold 63 { b8 \noBeam \bar "" }
}
}
musicC = \relative c''
{
\time 1/8
\cadenzaOn
\set Staff.timeSignatureFraction = #'(83 . 8)
\compressMusic #'(379 . 83)
{
\repeat unfold 83 { b8 \noBeam \bar "" }
}
}
musicD = \relative c''
{
\time 1/8
\cadenzaOn
\repeat unfold 379 { b8 \noBeam \bar "" }
}
\score
{
<<
\new Voice \musicA
\new Voice \musicB
\new RhythmicStaff \musicC
\new RhythmicStaff \musicD
>>
\layout
{
\context
{
\Staff
\remove "Time_signature_engraver"
\remove "Bar_engraver"
}
\context
{
\RhythmicStaff
\remove "Time_signature_engraver"
\remove "Bar_engraver"
}
\context
{
\Voice
\remove "Forbid_line_break_engraver"
}
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user