X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fmidi%2Fvoice-4.ly;fp=input%2Fregression%2Fmidi%2Fvoice-4.ly;h=2ef09e7b69e4a5ca1887f9dc40970ab99f972413;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/input/regression/midi/voice-4.ly b/input/regression/midi/voice-4.ly new file mode 100644 index 0000000000..2ef09e7b69 --- /dev/null +++ b/input/regression/midi/voice-4.ly @@ -0,0 +1,91 @@ +% Lily was here -- automatically converted by ../../../scripts/midi2ly.py from out-www/voice-4.midi +\version "2.14.0" + +\layout { + \context { + \Voice + \remove "Note_heads_engraver" + \consists "Completion_heads_engraver" + \remove "Rest_engraver" + \consists "Completion_rest_engraver" + } +} +\midi { + \context { + \Score + midiChannelMapping = #'instrument + } +} + +% included from ./out-www/voice-4.header +\header { +texidoc="midi2ly maps four voices nicely on one staff as \voiceOne, \voiceTwo, \voiceThree, \voiceFour" +options="" +} +% end + +trackAchannelA = { + + % [SEQUENCE_TRACK_NAME] control track + + % [TEXT_EVENT] creator: + + % [TEXT_EVENT] GNU LilyPond 2.13.54 + + \time 4/4 + + \tempo 4 = 60 + +} + +trackA = << + \context Voice = voiceA \trackAchannelA +>> + + +trackBchannelA = \relative c { + \voiceOne + + \set Staff.instrumentName = ":1" + 2 b + | % 2 + +} + +trackBchannelB = \relative c { + \voiceThree + c''4. d8 e4 f + | % 2 + +} + +trackBchannelC = \relative c { + \voiceFour + d'1 + | % 2 + +} + +trackBchannelD = \relative c { + \voiceTwo + c'4 c2 c4 + | % 2 + +} + +trackB = << + \context Voice = voiceA \trackBchannelA + \context Voice = voiceB \trackBchannelB + \context Voice = voiceC \trackBchannelC + \context Voice = voiceD \trackBchannelD +>> + + +\score { + << + \context Staff=trackB \trackA + \context Staff=trackB \trackB + >> + \layout {} + \midi {} +}