Hello,
I try to change a value inside a quote controlled by a selection of external OSC controls.
Particularly, with the code below, I try to change the variable "temp" to speed up "struct" (I do not want to use fast here because it has a different behaviour).
This variable "temp" can be controlled by choosing within a list "vit" of external OSC controls [s1,s2, s3, s4] thanks to the selection value "tr".
The code below does not work, but "how could it work", be coded?
How can I change the variable "temp" by selecting within a list of OSC controls?
setF "tr" (cF (1/4) "tr")
setI "s1" (cI 4 "s1")
setI "s2" (cI 4 "s2")
setI "s3" (cI 4 "s3")
setI "s4" (cI 4 "s4")
let vit = ["^s1", "^s2", "^s3", "^s4"]
setI "tem" (select "^tr" vit)
d1 $ struct "<[t ~ ~ ~]!15 [t ~ t ~]>*[^tem]" $ s "bd" # n "16 10 8"
Many Thanks, if you get it,
tried to be the most clear,
Christophe