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" <<
12 \set Score.midiChannelMapping = #'instrument
13 \context Voice="one" \relative {
19 f''8 es16 d c16 bes ! as g f8 as' g f
20 %8 es8 d es f b, c d b |
23 \context Voice="two" \relative {
28 %8 r8 as g f g f16 es f8 d |
29 <b, d>8 r <b d> r <g c>2 |
32 \context Staff = "bass" <<
33 \context Voice="three" \relative {
37 r8 c'16 b c8 g as c16 b c8 d |
38 %8 g8 c16 b c8 d f,16 g as4 g16 f |