This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
Carla
mirror of
https://github.com/falkTX/Carla
Watch
1
Star
0
Fork
0
Code
Releases
42
Activity
Browse Source
Fix zero-velocity note-ons on MIDI files
Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX
4 years ago
parent
b74d8344af
commit
6995188ebd
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
source/native-plugins/midi-base.hpp
+ 4
- 0
source/native-plugins/midi-base.hpp
View File
@@ -175,6 +175,10 @@ public:
carla_copy<uint8_t>(rawEvent->data, data, size);
// Fix zero-velocity note-ons
if (MIDI_IS_STATUS_NOTE_ON(data[0]) && data[2] == 0)
rawEvent->data[0] = MIDI_STATUS_NOTE_OFF;
appendSorted(rawEvent);
}
Write
Preview
Loading…
Cancel
Save