Hi Chuckists,
chuck -s test:walk-sample:silence-rest:loop:ap-ppa-appp:3-1-2_1-2-3-4-5-7-6
test.ck is as follows:
<<<me.args()>>>;
for(0=>int i; i < me.args(); i++){
<<<i, me.arg(i)>>>;
}
and outputs:
5 :(int)
0 walk-sample
1 silence-rest
2 loop
3 01-001-1000
4 3-1-2_1-2-3-4-5-7-6
i undestand that ChucK has only atof and atoi to get values from incomming strings. and i
but 01-001-1000 is/are three vectors: [0,1], [0,0,1] and [1,0,0,0].
and 3-1-2_1-2-3-4-5-7-6 is/are actually two vectors: [3,1,2] and [1,2,3,4,5,7,6].
the first arguments are stringed options passed to ChucK scripts, seems okay.
i need these two separate ordered sets of vectors..
i am thinking of sending each value independently (test:.....:4:6:9......) separating each vector by, say, 999. and each set of vectors by 9999
any better idea?