Hi. I got a counter variable in my code that is supposed to be increased in the on note callback and decreased in the on release callback. In the on note callback I also use ignore_event($EVENT_ID) and then follow this up with my own play_note(...) function.
When I play a note it does counts up by 1.
When I release a note however, it counts down by 2.
My guess is that while the original event is ignored (as in doesn´t trigger playback) it still calls the release callback, together with my custom play_note function. Also, the mapping editor always shows the red line for the original event as well as my custom event. Kontakt then counts this as 2 voices in my case. Is there any way to clean this up?