3 %% I don't know what this example is supposed to do. delete it?
4 %% It shows how to use the autochange feature together with an extra
5 %% voice. When I needed to typeset this example, I found it not trivial
6 %% and dumped a piece of it here. Move to refman?
9 texidoc="When using automatic staff changes for the one voice, the
10 other voice must be given a name explicitely."
18 melody = \notes\relative c''{
21 r4 a'8-- \< a-- a-- a-- c-- b\!-- a-\> gis f e\!
22 es8 \grace b c r4 r2 r
25 basloopje = \notes\relative c{
26 d,8( a' d f a d f d a f d a)
29 accompany = \repeat unfold 4 \basloopje
32 \notes \context PianoStaff<<
43 \autochange \context Voice \accompany
50 \override autoBeamSettings #'(end * * * *)
51 = #(ly:make-moment 1 2)