8 Mar
2006
8 Mar
'06
11:44 p.m.
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!