Is it okay to call .getValue() in the NoteOn function?
I remember reading about not allocating memory in the message & audio threads, I assume that includes using .getValue() ?
I guess I just assign it to a reg?
Calling setValue or any other API call that is not obviously allocating something is perfectly fine in the MIDI callback.
@Christoph-Hart ok sweet that simplifies things, thank you!