summaryrefslogtreecommitdiff
path: root/input/regression/midi-unisons.ly
blob: 8e3048d127068c9df4344d17de8210b3f9bbf932 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\header {

  texidoc = "In overlapping unisons, within a single MIDI channel,
either the first note is truncated, or the notes are merged if
@code{midiMergeUnisons} is @code{#t}. Run
@code{timidity -idvvv file.midi |grep Midi} to see midi events."

}

\version "2.15.0"

\score {
  {
    \set Score.midiChannelMapping = #'staff
    \new Staff  << {r8 g'4.} \\ {g'4. r8} >>
    \new Staff \with { midiMergeUnisons = ##t } << {r8 a'4.} \\ {a'4. r8} >>
  }
  \midi {}
  \layout {}
}