|
|
Thread Tools | Display Modes |
09-08-2016, 01:11 AM | #1 |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,270
|
MIDI Duplicate Filter stop accepting notes after receiving two note offs (FIXED)
I've been chasing around a seemingly random issue in my live setup where MIDI_DuplicateFilter would suddenly decide to stop accepting specific notes until it's manually reset.
Here's an easy way to trigger the symptoms:
Code:
Line 80, original: tracker[note] -= 1; Modified: tracker[note] > 0 ? tracker[note] -= 1;
__________________
🎁 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui Last edited by cfillion; 08-22-2018 at 02:32 PM. Reason: updated line number |
08-22-2018, 09:11 AM | #2 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,385
|
What is the purpose of the JSFX ?
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
08-22-2018, 09:56 AM | #3 |
Human being with feelings
Join Date: Jun 2009
Location: Croatia
Posts: 24,864
|
It filters duplicate notes?
|
08-22-2018, 05:20 PM | #4 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,385
|
@evildragon
What makes a note marked as duplicate ? What isbthe timing threshold for note of same pitch ? is it 0 ? or maybe duplicates notes is when two note on signal for same pitch are send one after the other ? what become filtered none ? do you use it ? what can make duplicated note in a first place ? Thx for your expertise :P
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
08-22-2018, 05:35 PM | #5 |
Human being with feelings
Join Date: May 2015
Location: Québec, Canada
Posts: 5,270
|
It's a real-time equivalent to "automatically correct overlapping notes". It only lets trough the first note-on and the last corresponding note-off. It's very useful when routing multiple keyboards together. The bug described here happens when it receives more note-off than note-on events (the internal counter goes negative...).
__________________
🎁 Donate (PayPal) | Sponsor (GitHub) | The Endless Journey (Keyboard Ensemble) ReaPack, a package manager for REAPER | SWS 2.14 is now available in ReaPack [new!] Developer tools: Lua profiler | Interactive ReaScript | ReaPack Editor | ReaImGui Last edited by cfillion; 08-22-2018 at 05:49 PM. |
08-23-2018, 01:07 AM | #6 |
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 10,385
|
@cfillion
Many thanks for your detailed explanation :P
__________________
Free ReaScripts - Premium Scripts - Custom Scripts Dev - Learn ReaScript - XR Theme - Stash Files - ReaLinks - Website - ReaComics - Alien 2347 - Donation |
Thread Tools | |
Display Modes | |
|
|