]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/midi/quantize-start.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / midi / quantize-start.ly
diff --git a/input/regression/midi/quantize-start.ly b/input/regression/midi/quantize-start.ly
new file mode 100644 (file)
index 0000000..2e5497f
--- /dev/null
@@ -0,0 +1,62 @@
+% 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 @code{--start-quant} quantizes start of notes"
+options="--start-quant=4"
+}
+% 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 {
+  r4*1/8 c4*7/8 
+  c4*7/8 r4*1/8
+}
+
+trackB = <<
+  \context Voice = voiceA \trackBchannelA
+>>
+
+
+\score {
+  <<
+    \context Staff=trackB \trackB
+  >>
+  \layout {}
+  \midi {}
+}