]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/midi/midi-overlapping-notes.ly
Imported Upstream version 2.19.47
[lilypond.git] / input / regression / midi / midi-overlapping-notes.ly
1 \header {
2
3   texidoc = "Notes with equal pitch overlapping in time on the same
4 MIDI channel should produce multiple MIDI note-on events, but no
5 isolated note-off events before the last of these notes ends."
6
7 }
8
9 \version "2.19.45"
10
11 \score {
12   \new Staff \with { midiInstrument = "church organ" }
13   \new Voice \relative c' <<
14     % This combination of music expressions should not produce audible
15     % pauses between notes in the MIDI output, in particular, before the
16     % 'g1' note in the first expression.
17     { c1 s1 g1 }
18     { s4 c4 }
19     { s2 c2~ c1 s1 }
20   >>
21   \midi { }
22 }