What's new

Please tell me about the handling of groups.

kontakt one

Member
There are two sample groups,
Group1 and Group2.
For example. In the following script, only Group1 will respond. I want to change Group2 at the same time, what should I do?
The GUI is like the image.
I don't want to add more knobs and sliders.

on ui_control ($ env_amp_attack)
$ count: = 0 set_engine_par ($ ENGINE_PAR_ATTACK, $ env_amp_attack, $ count, find_mod (0,
"ENV_AHDSR"), -1) inc ($ count)
end on
 

Attachments

  • E04Ft-7VUAMkVfr.jpeg
    E04Ft-7VUAMkVfr.jpeg
    139.6 KB · Views: 8
There are two sample groups,
Group1 and Group2.
For example. In the following script, only Group1 will respond. I want to change Group2 at the same time, what should I do?
The GUI is like the image.
I don't want to add more knobs and sliders.

on ui_control ($ env_amp_attack)
$ count: = 0 set_engine_par ($ ENGINE_PAR_ATTACK, $ env_amp_attack, $ count, find_mod (0,
"ENV_AHDSR"), -1) inc ($ count)
end on
You need to put the set_engine_par in a while loop (while $count < $NUM_GROUPS, for example) so that you address both groups.
 
Top Bottom