[chuck-users] Why doesn't this work?
Matt B.
matthew.biddle at gmail.com
Tue Mar 9 05:10:37 EST 2010
Hey guys
I'm trying to do a simple chuckle, but something's going wrong when I
try to set s.freq...
SinOsc s=>dac;Phasor
p=>blackhole;p.freq(2);while(1){Math.sqrt(1/p.last())*100=>s.freq;10::ms=>now;};
If I dump "Math.sqrt(1/p.last())*100" I get floating values as
expected between 100 and 700, but when I chuck it to s.freq, no sound
is output, and s.last() is always 0.
Am I missing something or is this a bug?
More information about the chuck-users
mailing list