Fix stuck notes with Helm VSTi#5365
Conversation
|
Initial tests looked/sounded good. However, when using arpeggio with long notes (e.g. 1/1), changing tempo did reset the arpeggio. Is this intended? |
Is this a regression in this PR? It's quite possibly unintended, but may be out of scope here. The arpeggiator is rather buggy anyway. |
Totally agree. And it's no regression. I just wondered that the Arpeggiator case is not in the code, but somehow the original bug does not occur in Arpeggio (for whatever strange reason...). Was there a reason why you did not catch that case? Would it hurt to catch it? |
|
The root cause of the issue is that notes from MIDI/keyboard input are implemented as normal notes but with a length of |
|
OK, makes sense. All reviews passed, I'll merge this. |
Fixes #3640.
As mentioned in that issue, resizing notes from MIDI input during tempo changes causes overflows, which result in incorrect MIDI messages sent to the plugin. This is avoided by not resizing these notes.