4 texidoc
="Midi2ly remaps voices correctly to staves in MIDI-files that use voice<->channel mapping when combined with staff<->track mapping. TODO: pianostaff"
9 %% TODO:PIANOSTAFF \context PianoStaff <<
11 \context Staff
= "treble" <<
12 \set Score
.midiChannelMapping
= #'voice
13 \context Voice
="one" \relative c'' {
19 f8 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 c'' {
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 c' {
37 r
8 c16 b c8 g as c16 b c8 d |
38 %8 g8 c16 b c8 d f,16 g as4 g16 f |