]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/midi/voice-4.ly
23d87b761319551238cf312e91529c0ebb5bc484
[lilypond.git] / input / regression / midi / voice-4.ly
1 % Lily was here -- automatically converted by ../../../scripts/midi2ly.py from out-www/voice-4.midi
2 \version "2.13.53"
3
4 \layout {
5   \context {
6     \Voice
7     \remove "Note_heads_engraver"
8     \consists "Completion_heads_engraver"
9     \remove "Rest_engraver"
10     \consists "Completion_rest_engraver"
11   }
12 }
13
14 % included from ./out-www/voice-4.header
15 \header {
16 texidoc="midi2ly maps four voices nicely on once staff as \voiceOne, \voiceTwo, \voiceThree, \voiceFour"
17 options=""
18 }
19 % end
20
21 trackAchannelA = {
22   
23   % [SEQUENCE_TRACK_NAME] control track
24   
25   % [TEXT_EVENT] creator: 
26   
27   % [TEXT_EVENT] GNU LilyPond 2.13.54          
28   
29   \time 4/4 
30   
31   \tempo 4 = 60 
32   
33 }
34
35 trackA = <<
36   \context Voice = voiceA \trackAchannelA
37 >>
38
39
40 trackBchannelA = \relative c {
41   \voiceOne
42   
43   \set Staff.instrumentName = ":1"
44   <c''' a >2 b 
45   | % 2
46   
47 }
48
49 trackBchannelB = \relative c {
50   \voiceThree
51   c''4. d8 e4 f 
52   | % 2
53   
54 }
55
56 trackBchannelC = \relative c {
57   \voiceFour
58   d'1 
59   | % 2
60   
61 }
62
63 trackBchannelD = \relative c {
64   \voiceTwo
65   c'4 c2 c4 
66   | % 2
67   
68 }
69
70 trackB = <<
71   \context Voice = voiceA \trackBchannelA
72   \context Voice = voiceB \trackBchannelB
73   \context Voice = voiceC \trackBchannelC
74   \context Voice = voiceD \trackBchannelD
75 >>
76
77
78 \score {
79   <<
80     \set Score.midiChannelMapping = #'voice
81     \context Staff=trackB \trackA
82     \context Staff=trackB \trackB
83   >>
84   \layout {}
85   \midi {}
86 }