4 texidoc="Midi2ly remaps voices correctly to staves in MIDI-files that use instrument<->channel mapping when combined with voice<->track mapping. TODO: pianostaff"
9 %% TODO:PIANOSTAFF \context PianoStaff <<
11 \context Staff = "treble" <<
13 %% \set Score.midiChannelMapping = #'instrument
14 \context Voice="one" \relative c'' {
20 f8 es16 d c16 bes ! as g f8 as' g f
21 %8 es8 d es f b, c d b |
24 \context Voice="two" \relative c'' {
29 %8 r8 as g f g f16 es f8 d |
30 <b, d>8 r <b d> r <g c>2 |
33 \context Staff = "bass" <<
34 \context Voice="three" \relative c' {
38 r8 c16 b c8 g as c16 b c8 d |
39 %8 g8 c16 b c8 d f,16 g as4 g16 f |