[chuck-users] Std.srand() abuse
signal.automatique at gmail.com
Tue Jul 14 14:23:48 EDT 2009
While exploring noise UGens I chanced upon the rather interesting technique
of periodically resetting Std.srand() which sets the seed for noise in
ChucK, thus resetting the output of the noise UGens;
//mind your speakers, ears and neighbours!
SubNoise n => dac;
.2 => n.gain;
((now/2::second)$int)%8 + 2 => n.rate;
5 => Std.srand;
Interestingly this type of modulation is system-wide so running two files
that both try to do this at the same time will result in rather complex
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the chuck-users