No note
-
If I, for a certain condition, don't want to trigger a note to play when hitting the keyboard, what command should I use? For example, if note number 27, nothing should be triggered, even if a sample is mapped to that note
-
@Sampletekk Found Message.ignoreEvent(true);, problems solved!
-
@Sampletekk Use that in a realtime script, not in your UI script.
-
@Sampletekk It's in the NoteOn callback
-
@Sampletekk Right, but don't put it in your UI script. You should add
Synth.deferCallbacks(true)
at the top of your UI script's on init callback, so you get a nice error message when you try to ignore the note.Then add a second MIDI processor for handling real time stuff and put your ignoreEvent call in there.
-
That's interesting I don't actually know about how this works in Hise.
All the scripts have their own separate state when it comes to the thread they are on?
-
@griffinboy Christoph explained it well here