]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/midi/staff-map-voice.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / input / regression / midi / staff-map-voice.ly
1 \version "2.14.0"
2
3 \header {
4 texidoc="Midi2ly remaps voices correctly to staves in MIDI-files that use voice<->channel mapping when combined with staff<->track mapping.  TODO: pianostaff"
5 options=""
6 }
7
8 \score {
9 %% TODO:PIANOSTAFF  \context PianoStaff <<
10   <<
11     \context Staff = "treble" <<
12       \set Score.midiChannelMapping = #'voice
13       \context Voice="one" \relative c'' {
14         \time 4/4
15         \key c \minor
16         \voiceOne
17 %comes
18 %7
19         f8 es16 d c16 bes ! as g f8 as' g f 
20 %8      es8 d es f b, c d b |
21         f,16 g as4 g16 f e2 |
22       }
23       \context Voice="two" \relative c'' {
24         \voiceTwo
25 %dux
26 %7
27         c4 r4 r8 f es d |
28 %8      r8 as g f g f16 es f8 d | 
29         <b, d>8 r <b d> r <g c>2 |
30       }
31     >>
32     \context Staff = "bass" <<
33       \context Voice="three" \relative c' {
34         \key c \minor
35         \clef bass
36 %7
37         r8 c16 b c8 g as c16 b c8 d |
38 %8      g8 c16 b c8 d f,16 g as4 g16 f | 
39         <c,, c'>1
40       }
41     >>
42   >>
43   \layout {}
44   \midi {}
45 }