@Chazrox Thanks a lot for your interest and kind words!
You can find more information about my work here:
https://www.atomsoundware.eu
I'll let you know as soon as the plugin is released!
@Chazrox Thanks a lot for your interest and kind words!
You can find more information about my work here:
https://www.atomsoundware.eu
I'll let you know as soon as the plugin is released!
@Chazrox said in MIDI Output from an RNBO-based HISE Audio FX Plugin:
@voxuer1 Pretty cool concept! What does this do if you dont mind me asking?
Thanks!
LAUSCH21 analyses an incoming audio signal and detects whether its components are tonal or noise-based.
This allows you, for example, to apply two different effect chains to the same signal – one focused on the tonal parts and the other on the noise components – and morph between them.
You can also send the analysis parameter to wherever you want, using it to control other effects or create new ways of interacting with the tonal and noise components of a sound.
@dannytaurus Thanks for the suggestion! I could prepare a pull request, but I'd like to do some more research and testing first.
At the moment, I've implemented MIDI output for controller messages in a regular audio FX plugin. The plugin analyzes incoming audio and converts it into MIDI CC messages. Both the MIDI channel and the controller number can be changed directly in the plugin interface.
The VST3 version is running and seems stable so far. I've tested it in Ableton Live and REAPER. Both hosts receive the MIDI data, and REAPER correctly handles the MIDI channel changes. However, Ableton Live doesn't seem to respond to the channel changes and keeps receiving on channel 1. I'm not sure yet whether this is a specific limitation or a routing issue in Live.
I've also successfully routed the MIDI output to a Max patch, where I can receive and monitor the controller values.
The AU version is still not working. Getting MIDI output from an Audio FX plugin through AU seems to be a bit more complicated than with VST3.
I'd like to investigate these remaining issues before submitting a pull request.

@voxuer1 I managed to get MIDI output working in HISE Audio FX plugins (VST3).
I made a few changes to the HISE source:
Synth.addController() are sent to the host.Tested with Ableton Live and REAPER – MIDI CC messages are received correctly.
AU is not working yet, still investigating.
@voxuer1 Thanks to Lindon's suggestion, I managed to get the internal MIDI forwarding working. Moving the onController script into a separate Container solved the issue.
The complete chain now works:
RNBO outport → global cable → Synth.addController() → Message.sendToMidiOut().
HISE confirms that the CC events reach Message.sendToMidiOut(), but the exported AU and VST3 plugins still don't expose MIDI output to the host (Ableton Live on macOS).
Looking at the HISE source code, I noticed that producesMidi() in FrontEndProcessor.h always returns false.
Has anyone tried enabling MIDI output for a regular Audio FX plugin by modifying the HISE source code?
Would changing producesMidi() to true be sufficient, or are additional changes needed in the plugin wrapper or MIDI output handling in MainController.cpp?
Also, does the existing output path support MIDI CC events, or only notes?
I want to keep the normal Audio FX functionality (audio input/output) and add MIDI CC output – not convert the plugin into a MIDI FX or instrument.
Any experience or suggestions would be appreciated. Thanks!
@voxuer1 Still no luck getting the Audio FX plugin (aufx / VST3 FX) to expose its MIDI output in Ableton Live or Logic.
So I'm wondering if the reverse approach works better in HISE:
Instead of exporting as an Audio FX, can I export as an Instrument (aumu / VST3i) — which reliably exposes MIDI Out in both Logic and Live — and route audio into it via Sidechain?
I already tried exporting as an Instrument with HISE_NUM_PLUGIN_CHANNELS=4 and NUM_FX_CHANNELS=2, which makes the extra channels show up in the DAW, but I haven't managed to get the incoming sidechain audio (Ch 3/4) routed into my stereo RNBO/Scriptnode FX node yet.
Has anyone successfully built a sidechain-fed Instrument in HISE (2 audio inputs + 2 audio outputs + MIDI out) and how did you set up the channel routing in the Master Container / Scriptnode?
@Lindon Thanks, that was the key. Moving the onController script into its own Container (child of the master, not in the same chain as the script that generates the CC) fixed the forwarding. In HISE the console now prints “cc” for every CC created by Synth.addController() in my timer, and Message.sendToMidiOut() is reached.
Solved:
Value from an RNBO outport comes in via a global cable, a timer in the Interface script creates the CC with Synth.addController(1, CC_NUM, value, 0).
A Script Processor inside a Container with Message.sendToMidiOut() in onController receives it.
Still not working: the exported plugin in Ableton Live (macOS).
FX plugin, AU and VST3. Project settings: EnableMidiOut=1, EnableMidiInputFX=1, EnableSoundGeneratorsFX=1, Clean Build.
An earlier AU build showed up in Live under “MIDI From” on a MIDI track (audio track with the plugin listed), but that build couldn’t be opened in Live (“plugin can’t be opened”). The latest build opens, but Live doesn’t offer it as a MIDI source anymore. VST3 never shows a MIDI source.
Has anyone got an Audio FX plugin (with audio input) from HISE to show up as a MIDI source in Live? Which export type and settings did you use?
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?
Hi everyone,
I'm developing an RNBO-based audio analyzer in HISE. The RNBO patch uses ctlout to 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!
Okay, thanks for your quick answer. I think this works now
Hi, I’m not quite sure how oversampling in HISE actually works. As you can see in the screenshot I attached, I added an Oversample 4x container to my Script FX. Inside the container I have an RNBO FX, and an outport connection which is currently working fine.
Does this construction work as intended? In other words, will the RNBO FX inside the oversampling container actually be processed at 4x oversampling, including its nonlinear processing?
Or is there something else I need to do to make sure the RNBO FX is actually oversampled?!
@HISEnberg Yes, it works now 
Thank you very, very much!
@HISEnberg Yes, if I compile the simple gain network with Export -> Compile DSP networks as DLL and load it into the HardcodedMasterFX, then the DSP works correctly after export.
But with my RNBO setup I lose the outport / modulation connection in Hardcoded mode, which I need for the peak meter communication.
@HISEnberg tested it with a completely simple core.gain ScriptFX network (no RNBO at all) and the same thing happens: works inside HISE, but after export the plugin passes audio through dry. So it seems the issue is not RNBO-specific but Scriptnode/ScriptFX export related on my setup (HISE 4.1 macOS).
@HISEnberg Yeah, that’s the frustrating part — as a hardcoded master FX everything works perfectly, including the exported VST/AU.
But I need RNBO outports for my peak meter / UI data, and I can only access those through Script FX / Scriptnode runtime. In hardcoded mode I lose the outport communication completely.
Has anyone successfully exported an RNBO patch running inside a Script FX in HISE as a working VST3 or AU plugin?
@Oli-Ullmann already tried all of that exactly as you suggested, but unfortunately no success yet — neither as AU nor as VST3.
Current setup:
Project Type = FX Plugin
Force Stereo Output = enabled
Enable Sound Generator FX = enabled
Dry/Wet default is set to Wet
I even added an extra global bypass button for testing
The GUI works, but the audio signal just passes through unchanged in the exported plugin.
The reason I’m not using a hardcoded effect is because I need to read data back from RNBO via outports for my peak meter. That only works for me through Global Cables / Script FX. As soon as I hardcode the network, I lose the outport communication.
So currently the RNBO patch is loaded directly inside a Script FX on purpose.
Inside HISE everything works perfectly, including:
RNBO processing
Global Cable communication
Peak meter
parameter control
Only the exported plugin loses the DSP processing.