bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1647 in lilypond: MIDI skips note if the pitch is already soun


From: lilypond
Subject: Re: Issue 1647 in lilypond: MIDI skips note if the pitch is already sounding in the same channel
Date: Sat, 07 May 2011 07:58:55 +0000


Comment #3 on issue 1647 by address@hidden: 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]