View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001467||OpenMPT||General||public||2021-06-02 22:51||2021-06-02 22:52|
|Reporter||Saga Musix||Assigned To||Saga Musix|
|Product Version||OpenMPT 1.30.00.* (current testing)|
|Target Version||OpenMPT 1.30 / libopenmpt 0.6 (goals)|
|Summary||0001467: Shortcuts assigned to MIDI notes trigger on both note-on and note-off|
Assigning a shortcut to MIDI notes triggers both on note-on and note-off. Ideally, note-on and note-off should map to the "key down" and "key up" check boxes so that the user can decide which action should trigger what.
No matter what the solution to this problem looks like, it most likely cannot be stateless: For each note-on event, we need to memorize that the corresponding note-off event should not be processed any further and e.g. cause a note-off to be written to the pattern editor. On the other hand, if a shortcut is only triggered by note-off, this note-off should still be processed by other parts of the program that might have processed the note-on event, or that note will keep hanging forever.
|Tags||No tags attached.|
|Has the bug occurred in previous versions?|
|Tested code revision (in case you know it)|