During playback, if there is an intersection between two notes of the same pitch in different voices, one of which is muted, then the duration of the sounded note is extended based on the start/stop times of the sounded/muted notes and voice order
This is a generalization of #291038: Muted voice causes MIDI events in unmuted voice to be discarded which only partially identifies one of the several possible error conditions. (If I should have attached this to that issue, I apologize for opening a new issue. I am never sure what is the correct course of action.)
The attached file (just load and initiate playback) contains a consolidated presentation of my limited investigation into the specific conditions that cause ‘stuck’ (note durations extended to the next note of the same pitch in the same voice) notes during playback. What it presents are single measure, 3 note, examples of the timing relationship between the starting and ending times of the note in the sounded voice relative to the note in the muted voice labeled (above the measure) with a pair of two word phrases like:
Begins before, Ends before
Sounded note begins before muted note begins and ends before muted note ends.
Begins at, Ends at
Sounded note begins at the same time as muted note and ends at the same time as muted note.
Begins after, Ends after
Sounded note begins after muted note begins and ends after muted note ends.
The examples which play correctly are so labeled below the measure for easier analysis.
Looking at the examples, it is easy to see:
1. if the end time of the sounded note exceeds that of the muted note, the note plays correctly.
2. if the end time of the sounded note precedes that of the muted note, the note plays incorrectly
3. if the end times of the sounded and muted notes are the same then:
a. if the start time of the sounded note exceeds that of muted note, the note plays correctly
b. if the start time of the sounded note precedes that of the muted note, the note plays incorrectly
c. if the start times of the sounded and muted notes are the same (the red labeled example) then the note plays correctly if the muted voice is the lower numbered voice, otherwise it plays incorrectly when the muted voice is the higher numbered voice (I believe this is the case identified in issue #291038)
To verify the dependency on voice ordering just "exchange voices 1 & 2" for the whole 'score' and in the mixer (i.e. mute V2 and sound V1) and repeat playback.
|Stuck Note Examples-Voices Interchanged.mscz||11.41 KB|