]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/midi/quantize-duration.ly
1994eeb54780ca53e2d7b1f8f6976b557ef7001a
[lilypond.git] / input / regression / midi / quantize-duration.ly
1 % Lily was here -- automatically converted by ../../../scripts/midi2ly.py from out-www/voice-2.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-2.header
15 \header {
16 texidoc="midi2ly --duration-quant quantizes durations of notes"
17 options="--duration-quant=4"
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   r4*1/8 c4*7/8 
42   c4*7/8 r4*1/8
43 }
44
45 trackB = <<
46   \context Voice = voiceA \trackBchannelA
47 >>
48
49
50 \score {
51   <<
52     %\set Score.midiChannelMapping = #'voice
53     \context Staff=trackB \trackB
54   >>
55   \layout {}
56   \midi {}
57 }