Creating a blend fader or knob with two different groups
Hi there,
I am creating a kontakt instrument with two sounds, each in its own group (two groups in total).
Group 1 is being routed to Bus 1, and Group 2 to Bus 2.
I wanted to have a single fader or single knob that would allow me to blend both instruments. So, for example, if I bring the fader all the way to the left, it plays group 1, and as I move it to the right, it starts blending with group 2. And all he way to the right, I would only hear group 2.
Here is my created fader script:
declare ui_slider $fader(0,1000000) move_control_px($fader,100,90) make_persistent($fader) declare $faderId $faderId := get_ui_id($fader) set_control_par_str($faderId, $CONTROL_PAR_PICTURE,"fader")
And then the actions I want the single fader to perform:
on ui_control($fader) set_engine_par($ENGINE_PAR_VOLUME,$fader,-1,-1,$NI_BUS_OFFSET + 0) end on on ui_control($fader) set_engine_par($ENGINE_PAR_VOLUME,$fader,-1,-1,$NI_BUS_OFFSET + 1) end on
The issue I am having is that when I set those two actions, only one works, so the fader only controls one instrument. I can't get the fader to control the two buses at the same time.
Any clues on how I could build a fader/knob that would be able to blend these two instruments?
Thank you!
Comments
-
Why not simply modulate both groups with the same cc#, and invert one. Your cc messages can come from wherever you want.
0
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 62 NI News
- 785 Tech Talks
- 4.1K Native Access
- 16.5K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.7K Kontakt
- 1.6K Reaktor
- 378 Battery 4
- 845 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