kieren, james and the others... thanks a million! (and sorry for my late reply - was away from home for some days...) what you posted looks just awesome to my eyes! (though the proportions are different from my example now - but i'll try to find out why..) - also thanks for the other suggestions how to make the code more elegant. i'm still very new to lilypond, so all of this is very appreciated!
regards, kostia. > -----Ursprüngliche Nachricht----- > Von: "Kieren MacMillan" <[EMAIL PROTECTED]> > Gesendet: 21.01.08 04:13:48 > An: James E. Bailey <[EMAIL PROTECTED]> > CC: lilypond-user@gnu.org > Betreff: Re: Different tempos > > 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" > } > } > } > __________________________________________________________________________ Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach! Mehr Infos unter http://produkte.web.de/club/?mc=021131 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user