RNBO and matrixModulator
-
Is it possible to use an imported RNBO effect with a matrixModulator?
I know that I can load the RNBO patch into a Scriptnote and then modulate it using the global_mod node to achieve polyphonic modulation.
But is there also a way to use the matrixModulator to take advantage of the great new capabilities of HISE?
Thanks,
Oli -
@Oli-Ullmann yes, but you will need to wrap the RNBO node into a simple network where you then can assign modulation slots:
- Just create a new network, load in the compiled RNBO node
- Create parameters & external data connections for every parameter
- Assign a modulation slot to the network parameter that represents the RNBO node parameter you want to modulate with the matrix modulator.
- Compile the network
- Load the network in a hardcoded module. Make sure to set the preprocessor values for the amount of modulation slots so they show up correctly as described here
- Slap a matrix modulator into the slot and start using the bad boy.
I can probably add some tools to perform the first two steps automatically as duplicating many parameters like this can become cumbersome, but this is less error prone that making sure that every route to hardcoded nodes have the correct modulation slot logic (Faust, RNBO, external C++, whatever we come up in the future...)
-
@Christoph-Hart
That worked great, thanks very much! :-)While we're on the subject, is it possible to load a HardcodedPolyphonicFx into an effect slot? Every time I try, HISE crashes...
I'm trying to do this in the effect chain of a synthesizer group.
-
@Oli-Ullmann no, effect slots are monophonic master FX, but that looks redundant, why don't you just use polyphonic script FX directly as you can swap out the effects in there too with the same scripting API. You loose the ability of combining it with native HISE poly FX but there's nothing in there that can't be replicated with a scriptnode FX.
-
@Christoph-Hart
Okay, I've never worked with ScriptFX before, but I'll take a look at it now. Thanks for the tip! :-)My goal:
I have an RNBO filter that I now want to integrate into HISE. That's why the modulation has to be polyphonic. I'll try that and get back to you if I have any problems.Thanks very much for your support! :-)
-
O Oli Ullmann has marked this topic as solved
-
@Oli-Ullmann FIY I've added this tool that wraps a network around a single node and forwards all parameters.
In the scriptnode start window there's a new button. Press it and select one of the C++ / Faust / RNBO nodes that you have already compiled (important: this only works after you compiled the DLL at least once), then it will create and load a network with the same parameters as the original node.
I've added a red arrow for clarity. Note that it doesn't forward the external data slots so you have to do that yourself.
-
@Christoph-Hart
Thanks for the tip! :-)
I did it manually and it works great. Next time I'll use this! Thanks to you.