[chuck-users] array of UGens

Jascha Narveson jnarveson at wesleyan.edu
Sun Oct 7 10:25:39 EDT 2007

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



More information about the chuck-users mailing list