Is it possible to script a bypass control for an external modulator?

I would like to script an interface which lets me decide which of 3 modulation curves to use for any given group. Is it possible to script a bypass for an external modulator? My thought was I could create 3 modulators, each controlled by a unique CC and with the curves I need, and then I could use a scripted control to bypass the modulators I don't need.
Otherwise, is it possible to script a control which selects a user-preset for the modulation shaper?
One thing I've tried is using $ENGINE_PAR_MOD_TARGET_INTENSITY to attempt to create an effective bypass, but that gives me results I don't quite understand.
My last resort is to just duplicate all the groups for each of the 3 curves, and then activate/deactivate groups to achieve the result. But I'm wondering if there's a better way.
Thanks in advance!
Comments
-
you are on the right track, to bypass the modulator, use ENGINE_PAR_MOD_TARGET_INTENSITY and pass the value as 0 for intensity 0% and 1000000 for intensity 100%
an example using a modulator on group 0:
set_engine_par($ENGINE_PAR_MOD_TARGET_INTENSITY, 0, 0, find_mod(0,"VEL_VOLUME"),-1) { "bypass" } set_engine_par($ENGINE_PAR_MOD_TARGET_INTENSITY, 1000000, 0, find_mod(0,"VEL_VOLUME"),-1) { "bypass off" }
1 -
Excellent! Works exactly as I was hoping. Thank you! :)
0
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 62 NI News
- 790 Tech Talks
- 4.1K Native Access
- 16.6K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.7K Kontakt
- 1.6K Reaktor
- 381 Battery 4
- 850 Guitar Rig & FX
- 429 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.8K Maschine
- 7.3K Traktor
- 7.3K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators