LilyPond: Single-staff polyphony not exported correctly
LilyPond export uses an unusual method for combining multiple voices into one staff using the "\simultaneous" command. This results in notehead collisions and other unexpected behavior (see screenshot of PDF created from LilyPond export: "multi-voice.png").
Actual output:
AVlnpartA = \simultaneous{ \override Staff.NoteCollision #'merge-differently-headed = ##t \override Staff.NoteCollision #'merge-differently-dotted = ##t \context Voice = "AVlnvoiceAA" \AVlnvoiceAA \context Voice = "AVlnvoiceAB" \AVlnvoiceAB } \score { \relative << \context Staff = OAVlnpartAG << \context Voice = OAVlnpartAG \AVlnpartA >>
Expected output:
\score { \relative << \context Staff = AVlnpartA << {\AVlnvoiceAA} \\ {\AVlnvoiceAB} >>
Attachment | Size |
---|---|
multi-voice.png | 5.77 KB |
multi-voice.mscz | 1.15 KB |
Comments
hi,
The \simulataneous { } command is synonymous with << >>. What is lacking is the \\. And I should have read more in the lilypond manual.
The issue is now fixed, I hope....
Olav
Automatically closed -- issue fixed for 2 weeks with no activity.