Thread: Midi <-> OSC
View Single Post
Old 11-18-2017, 12:29 PM   #83
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 7,108
Default

Quote:
Originally Posted by fundorin View Post
This is the code that controls tracks volume with faders (adapted from midimix script):
Do you really want to have multiple messages sent if multiple sliders are set to the same value ?

You can set array values in the @init section and use them later.

Beware of that in EEL arrays work similar as string slots !!!

a[i] is just a shortcut for 0[a+i], meaning there is a single array 0[...] and you need to do something like

a=1000;
a[0] = 1;
a[1] = 11;
a[2] = 111;

-Michael
__________________
www.boa-sorte.de

Last edited by mschnell; 11-18-2017 at 12:40 PM.
mschnell is offline   Reply With Quote