MIDI Output from an RNBO-based HISE Audio FX Plugin
-
Hi everyone,
I'm developing an RNBO-based audio analyzer in HISE. The RNBO patch uses
ctloutto generate MIDI CC data from the incoming audio signal.The plugin needs to be an Audio FX plugin, processing audio while also sending MIDI CC output to the DAW.
I've enabled Enable MIDI Out, but I'm not receiving any MIDI output.
Is MIDI output supported in HISE Audio FX plugins? If so, what else needs to be configured to forward the MIDI CC messages from RNBO to the DAW?
Thanks for your help!
-
Update: ctlout isn’t forwarded to the host, so I’m trying a workaround. I send the value via an RNBO outport and a global cable (“Lauscher”) into HISE. That works. Now I want to turn it into a CC for the MIDI out:
// Interface script
lauscherCable.registerCallback(function(value)
{
pending[0] = Math.round(value * 127.0);
}, AsyncNotification);// onTimer
Synth.addController(1, CC_NUM, pending[0], 0);// second Script Processor, onController
Message.sendToMidiOut();“timer” prints, so addController is called, but onController in the second script never fires. Plugin is an AU FX, Enable MIDI Out is on.
Are events from Synth.addController() in onTimer passed on to the next script? If not, what’s the right way to get a cable value to the MIDI out? -
@voxuer1 upload a snippet - it might just be you are running your onController code in the same container...as your generator code