No MIDI input when UI is closed
-
Hi
I have a sampler based instrument which functions as expected except that when exported as a plugin, it works fine in a DAW but only if the UI is open. When the UI is closed it seems not to be receiving any MIDI messages from the DAW; either from MIDI clips or from a keyboard.
Has anyone had a similar issue and managed to fix it? I've tried searching the forum but didn't find anything.
Thanks
Mike
-
Don't put real-time MIDI stuff in your UI script - the UI script only functions when the UI is visible. You need to put your MID stuff in a separate, non-deferred, MIDI processor.
Some info here - https://forum.hise.audio/topic/79/scripting-best-practices
-
Brilliant, thank you, fixed