Hi all, this is obviously a subject that has been beat to death on this forum, and I hate to resurrect this question with so many threads, but I need some help.
While I was digging through the archives looking at discussions on how to do Choke scripts as I am doing some hi hat programming, and I came across this thread.
Thanks for your answer and for your app by the way, it's great! Do you think something like that could work? var closeHiHatKey = 66; var openHiHatKey = 70; ...
Forum (forum.hise.audio)
The script seems to be fairly simple, and after going through the logic on it, it seemed to be a good solution. Except I can't get it to work 
I broke down the script piece by piece troubleshooting it, and Console.printed all of the variables as I went through just to double check that every piece was working. It all seems to be working except for one thing -
Synth.noteOffByEventId() does not seem to cut the voice associated with the ID that is stored in the array.
Any ideas on why that might be? The hi hat event checks out as artificial when I run the event through Message.isArtificial()
Here's what I have in my scripting window.
