MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / midi / staff-map-instrument.ly
blob8d90c9d29f33333334e36204036003a2860eba63
1 \version "2.13.53"
3 \header {
4 texidoc="Midi2ly remaps voices correctly to staves in MIDI-files that use instrument<->channel mapping when combined with voice<->track mapping. TODO: pianostaff"
5 options=""
8 \score {
9 %% TODO:PIANOSTAFF \context PianoStaff <<
11 \context Staff = "treble" <<
12 %% the default
13 %% \set Score.midiChannelMapping = #'instrument
14 \context Voice="one" \relative c'' {
15 \time 4/4
16 \key c \minor
17 \voiceOne
18 %comes
20 f8 es16 d c16 bes ! as g f8 as' g f
21 %8 es8 d es f b, c d b |
22 f,16 g as4 g16 f e2 |
24 \context Voice="two" \relative c'' {
25 \voiceTwo
26 %dux
28 c4 r4 r8 f es d |
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' {
35 \key c \minor
36 \clef bass
38 r8 c16 b c8 g as c16 b c8 d |
39 %8 g8 c16 b c8 d f,16 g as4 g16 f |
40 <c,, c'>1
44 \layout {}
45 \midi {}