Hi, For the musicxml2ly application, I'm looking into how to convert cross-staff chords in PianoStaves (i.e. chords that have some notes in the upper and some in the lower staff). The documentation talks about these in http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Cross-staff-stems#Cross-staff-stems
However, this approach is not possible for me in musicxml2ly (apart from the fact, that I think that this is a terribly hackish workaround, but no proper way), because I'm already inside a voice and can't easily created another voice. The other issues I have with that workaround are that - the stem length is not known at all (sometimes 20 might be required, sometimes only 10 and 20 would look awkward), so i can't automate this setting - The no-flag does not work at all for beamed chords I'm attaching a sample which displays these problems. In short, as this is no option for me, is there any other / better way to split a chord upon two staves and produce the result as shown in the attached file 14c-StaffChange-Finale-Ref.pdf (created in Finale)? Cheers, Reinhold -- ------------------------------------------------------------------ Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
14c-StaffChange-Finale-Ref.pdf
Description: Adobe PDF document
\version "2.11.34"
stemExtend = {
\once \override Stem #'length = #10
\once \override Stem #'cross-staff = ##t
}
noFlag = \once \override Stem #'flag-style = #'no-flag
\new PianoStaff <<
\new Staff {
\stemDown \stemExtend
f'4
\stemExtend \noFlag
f'8
\stemExtend \noFlag
b'8
\stemExtend \noFlag
d''8
}
\new Staff {
\clef bass
a4 a8 g8 e8
}
>>
cross_staff_chords.pdf
Description: Adobe PDF document
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
