Comment #3 on issue 1647 by [email protected]: MIDI skips note if the pitch is already sounding in the same channel
http://code.google.com/p/lilypond/issues/detail?id=1647

This issue involves a small section of code, but recent history makes it a little complicated.

The examples given above sound 'fixed' with the new use of separate tracks for each Voice. This separates the data streams in such a way that Midi_walker::do_start_note() analyzes just one Voice at a time, so this bit of code can no longer see the already-sounding note.

To reproduce this issue in version 2.13.61, we need to set an option that puts all voices in the same midi-file track:
\version "2.13.61"
\score{
  \new Staff {
\set Score.midiChannelMapping = #'staff %%% NEW, relative to original example
    << {r8 g'4} \\ {g'4 r8} >>
  }
  \layout {}
  \midi{}
}


Attachments:
        1647.channelMappingStaff.mid  132 bytes


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to