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... -
@Lindon thank you so much! That was the info I was missing :)
-
L Lindon referenced this topic on
-
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 :)
-
@bendurso @Lindon
After doing some digging about global mods and hardcoded fx after having trouble with exported plugins I found this thread.
Can I just ask, do you just open the projucer file after exporting from HISE, add the hardcoded mods in and then save/open in ide? No other steps?
Have tried that without success is all so just wondering. Also have the ‘enable sound generator fx’ ticked.
Thanks.
Chris. -
@bfaudio You will need to compile HISE with that and the plugin with it too.
Just put it in the HISE extra pre processor definitions in projucer, compile HISE.
Setup your networks in HISE and add the same definitions to your plugin before compiling. -
This post is deleted!