
7 Oct
2007
7 Oct
'07
10:25 a.m.
Quick question: How do i define an array of Unit Generators in Chuck? Something like this (obviously not a working example)... Object sines[8]; // create an array for 8 SinOscs for (0 => int i; i < sines.cap(); i++) // put a SinOsc in each slot { SinOsc => sines[i]; (i+1) * 110 => sines[i].freq; // harmonically related tones } thanks, jascha