X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fmidi%2Fvoice-2.ly;fp=input%2Fregression%2Fmidi%2Fvoice-2.ly;h=3a0d68b170f7802707579607dbd364fa31bfbfda;hb=941dff9d2a67080e0dd8474f1e70f0c72ace6424;hp=0000000000000000000000000000000000000000;hpb=5a22d6233a39d3164e1ca043244794c268be4ad0;p=lilypond.git diff --git a/input/regression/midi/voice-2.ly b/input/regression/midi/voice-2.ly new file mode 100644 index 0000000000..3a0d68b170 --- /dev/null +++ b/input/regression/midi/voice-2.ly @@ -0,0 +1,75 @@ +% Lily was here -- automatically converted by ../../../scripts/midi2ly.py from out-www/voice-2.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-2.header +\header { +texidoc="midi2ly maps two voices nicely on one staff as \voiceOne, \voiceTwo" +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" + e''4 e e e + | % 2 + +} + +trackBchannelB = \relative c { + \voiceTwo + f' f f f + | % 2 + +} + +trackB = << + \context Voice = voiceA \trackBchannelA + \context Voice = voiceB \trackBchannelB +>> + + +\score { + << + \context Staff=trackB \trackA + \context Staff=trackB \trackB + >> + \layout {} + \midi {} +}