9 Mar
2006
9 Mar
'06
12:58 a.m.
thanks keeping the frequency value under 1600 works great
while (true) { 1.0 => s.noteOn;
// variation pitchShifting (shFreq.last() * 10 ) => sh.shift; std.rand2f(0.0, 0.8) => sh.mix;
(std.randf() * 20) +=> temp; temp => s.freq; 10::ms => now; }
Looks like it's doing a random walk with the sitar frequency. When temp goes beyond reasonable values - like when it gets below 30 hz or so - the model calls for a bigger delay than is ever expected, hence the error message. Probably want to detect when temp is getting too big/small, and do something in those cases...
Ge! _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users