How to use NUM_HARDCODED_FX_MODS & NUM_HARDCODED_POLY_FX_MODS?
-
Hey I am exploring the scriptnode modulation especially for synths.
I compiled my HISE with the
NUM_HARDCODED_FX_MODS=4
NUM_HARDCODED_POLY_FX_MODS=4
flags.I get the moduation slots to show up when using a hardcoded network .
How am I supposed to fetch that modulation value with the index in the actual scriptnode?I do not wanna setup modulation inside the scriptnode I want to use the global mod system.
any help is much appreciated.
-
@oskarsh create your Global Modulators - in a Global Modulator container...
in each FX Modulation tab add a Global Modulator, i.e. if you have a set of Global LFOs add a Global Time variant modulator - and there you can (programmatically) select the Global LFO you wish to use...the (4 in your case) FX Mods will be applied to each of the first 4 (in your case) controls in your Hardcoded FX..
-
@Lindon
quick and dirty video...https://filedn.com/lbcnNB3zs5mQISH63IOtbfX/2024-10-31_10-16-54.mp4
-
@Lindon thank you so much! That was the info I was missing :)
-
-
Do we need to use a some flag for exporting the plugin with this?
It works in Hise, but I'm not sure why it doesn't work in my compiled plugin.
-
NUM_HARDCODED_FX_MODS=4
NUM_HARDCODED_POLY_FX_MODS=4in both your HISE build AND your plugin build..
-
@Lindon Nice thanks, I though it was only for compiling Hise :)