this is the shortest example I've found where autochange gets
mixed up about which staff to put notes on - bars 1-6 of the
lefthand chords are all put hanging from the up staff with 1.2.13
here

John
---------------------------------

%K032.ly LilyPond 1.2.13
rh={\property Thread.noteHeadStyle=""}
lh={\property Thread.noteHeadStyle="diamond"}
n={\property Thread.fontSize="0"}
sm={\property Thread.fontSize="-1"}
zs={\property Voice.forceHorizontalShift="0.0"}
\score{
 \context PianoStaff \notes<
  \context Staff=up<
   \keysignature bes;
   \time 3/8;
   \clef treble;
   \autochange Staff
   \context Voice=va<
    \stemup \zs
    \context Thread=ta{
     \rh
     [d''32 e'' f''16][e''8 d'']|
     %a2
     [bes''8 cis'' d'']|
     %a3
     [e''32 f'' g''16][f''8 e'']|
     %a4
     a''8[gis' a']|
     %a5
     [cis''32 d'' e''16][d''8 cis''^\prall]|
     %a6
     d''8[a' g']|
     %a7
     [f'16 g' f'8 e'^\prall]|
     %a8
     d'4. \bar "||";
     %a9
     [a'32 bes' c''16][bes'8 a']|
     %a10
     [bes'8 fis'' g'']|
     %a11
     [g'32 a' bes'16][a'8 g']|
     %a12
     [a'8 e'' f'']|
     %a13
     [f'32 g' a'16][g'8 f']|
     %a14
     [e''32 f'' g''16][f''8 e'']|
     %a15
     [d'32 e' f'16][e'8 d']|
     %a16
     gis''8^\prall a''4|
     %a17
     [a'32 bes' c''16][bes'8 a']|
     %a18
     [bes'8 cis' d']|
     %a19
     [cis''32 d'' e''16][d''8 cis''^\prall]|
     %a20
     d''8[cis' d']|
     %a21
     [e''32 f'' g''16][f''8 e'']|
     %a22
     a''8[cis' d']|
     %a23
     [e''32 f'' g''16][d''8 cis''^\prall]|
     %a24
     d''4. \bar "|.";
     }>
   \autochange Staff
   \context Voice=vb<
    \stemdown \zs
    \context Thread=tb{
     \lh s4.*5
     %b6
     s8[f, g,]|
     %b7
     a,4 a,8|
     %b8
     d,4.|
     s4.*3
     %b12
     [f8 c f,]|
     %b13
     a4.|
     %b14
     [\stemup bes8 \stemdown d' cis']|
     %b15
     bes4 f8|
     %b16
     [e8 a16 g f e]|
     s4.
     %b18
     bes4.|
     s4.|
     %b20
     [bes8 a bes]|
     %b21
     a4.|
     %b22
     [a8 e f]|
     %b23
     [g8 a a,]|
     %b24
     d4.
     }
    \context Thread=tc{
     \lh a4.|
     %b2
     bes4.|
     s4.
     %b4
     a4.|
     %b5
     a4.|
     %b6
     f8 \skip 4..*16/7;|
     %b9
     a4.|
     %b10
     bes4.|
     %b11
     g4.|
     %b12
     s4.|
     %b13
     f4.|
     %b14
     \skip 4..*18/7;|
     %b17
     a4.|
     %b18
     g4.|
     %b19
     a4.|
     %b20
     s4.|
     %b21
     e4.|
     %b22
     f8
     }
    \context Thread=td{
     \lh d4.|
     %b2
     g4.|
     %b3
     a4.|
     %b4
     f4.|
     %b5
     g4.|
     %b6
     \skip 4..*18/7;|
     %b9
     d4.|
     %b10
     \skip 4..*6/1;|
     %b17
     f4.|
     %b18
     \skip 4..*18/7;|
     %b21
     cis4.|
     %b22
     d8
     }
    \context Thread=te{
     \lh \skip 4..*12/7;|
     %b3
     g4.|
     %b4
     s4.|
     %b5
     e4.
     }>
   \autochange Staff
   \context Voice=vc<
    \stemdown \zs
    \context Thread=tf{
     \lh d'4.|
     %c2
     d'4.|
     %c3
     <cis'4. e'>|
     %c4
     d'4.|
     %c5
     cis'4.|
     %c6
     d'8 s4
     s4.*2
     %c9
     d'4.|
     %c10
     g4 f8|
     %c11
     e4 c8|
     \skip 4..*12/7;|
     %c14
     g4 a8|
     \skip 4..*30/7;|
     %c20
     bes,4.
     }>
   \autochange Staff
   \context Voice=vd<
    \stemdown \zs
    \context Thread=tg{
     \lh s4.*9
     %d10
     d'4.|
     %d11
     c'4.|
     s4.*5
     %d17
     d'4.|
     s4.
     %d19
     cis'4.|
     }>>
  \context Staff=down<
   \clef bass;
   \keysignature bes;
   s4.*24
   >>
 \paper{indent=0.0;linewidth=188.0\mm;arithmetic_multiplier=6.8\pt;
  \translator{\PianoStaffContext \consists Bar_number_engraver;
   minVerticalAlign=42.0\pt;maxVerticalAlign=42.0\pt;}
  \translator{\StaffContext staffLineLeading=5.5\pt;timeSignatureStyle="C";}
  \translator{\VoiceContext tupletVisibility=0;textEmptyDimension=1;
   \remove Auto_beam_engraver;}
  \translator{\ThreadContext \consists Font_size_engraver;}
  }}

Reply via email to