See modifications to your code below. It seems like something with Forbid_line_break_engraver should work instead of the *0, but I can't figure it out. This does work, though.
On 6/22/10, Hans Roels <hans.ro...@base.be> wrote: > Hello, > > Does anyone know how to force a line break in the attached example > with two simultaneous staffs in a different tempo? The problem is > that there is no exact simultaneous point (between the unrelated > tempi). A invisible barline with a break just before a split point > (within the bar) doesn't work. I also tried adding an extra empty > staff with spacing but also without any result... > > Hans R \layout { \context { \Score \remove "Timing_translator" \remove "Default_bar_line_engraver" } \context { \Staff \consists "Timing_translator" \consists "Default_bar_line_engraver" } } \relative c' << \new Staff { \time 4/4 r4^\markup"tempo=54" b'2.~ | % 1 b4 c2 a4~ | % 2 a r2. | % 3 \break r4 b2.~ | % 4 b4 c4. a8 d4~ | % 5 d2. cis4~ | % 6 cis r2. | % 7 b1 | % 8 c | % 9 g | % 10 } \new Staff { << { %two voices, one w/out scaleDurations, to get proper break point \time 54/84 \set Staff.timeSignatureFraction = #'(4 . 4) \scaleDurations #'(54 . 84) { b8^\markup"tempo=84" b b b b b b b16 es | % 1 d8 d d b16 es d8 b16 es d8 b16 es | % 2 d8 d b b d b b b | % 3 gis gis gis gis gis gis gis gis16 fis' | % 4 % multiply offending duration by 0, add spacer to allow break dis8 dis dis gis,16 fis' dis8 gis,16*0 s16 fis' dis8 gis,16 fis' | % 5 dis8 dis dis dis fis dis dis dis | % 6 b8 b b b b b b b16 es | % 7 d8 d d b16 es d8 b16 es d8 b16 es | % 8 d8 d b b d b b b | % 9 gis gis gis gis gis gis gis gis16 fis' | % 10 dis8 dis dis gis,16 fis' dis8 gis,16 fis' dis8 gis,16 fis' | % 11 dis8 dis dis dis fis dis dis dis | % 12 } } { s1*3 \bar "" } >> % new voice to get proper split point } >> -- Neil Thornock, D.M. The recent BYU Symphony Orchestra performance of Plutoids: http://neilthornock.net/mp3s/plutoids.mp3 Assistant Professor of Music Composition/Theory Brigham Young University _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user