Need help to create a simple knob for CC11 (expression)
I want to add a simple knob for CC11 (controlling volume) to one of my custom Kontakt Instruments.
So far I added an modulator (amplifier => external sources => midi CC) to tweak the volume.
This is my script so far:
on init make_perfview set_ui_height_px(120) declare ui_knob $Expression (0,127,1) move_control ($Expression,1,2) make_persistent($Expression) read_persistent_var($Expression) end on
The I assigned midi CC to via midi learn to the knob.
This works when I adjust CC11 only with an external controller.
However, if I move the knob on the GUI with my mouse it won't have an effect on the engine (only the values on the GUI will change).
I figured that I would ne somethin involving
- "on ui_control"
- " set_engine_par",
- (maybe "set_knob_label" as well?)
but I'm not sure how to write the exact code.
I appreciate any help. Many thanks in advance.
- All Categories
- 21 Welcome
- 849 Hangout
- 78 NI News
- 410 Tech Talks
- 1.9K Native Access
- 8.6K Komplete
- 1.1K Komplete General
- 2.2K Komplete Kontrol
- 3.1K Kontakt
- 722 Reaktor
- 252 Battery 4
- 491 Guitar Rig & FX
- 286 Massive X & Synths
- 508 Other Software & Hardware
- 3.4K Maschine
- 23 Sampling Room
- 4.2K Traktor
- 3.9K 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