[chuck-users] Looped sample playback rate
ollieglaskovik at gmail.com
Sun Feb 3 20:48:05 EST 2008
I've discovered that there's no sound if the .freq call is made
before a sample is read. If you read and call .freq afterwards it's
fine. So my problem's solved, though I'd like to request that ChucK
prints error or warning messages in situations like this.
SndBuf buffer => dac;
"FunkDmin_1.wav" => buffer.read; // comment this and uncomment the
other line to see this happen
//"FunkDmin_1.wav" => buffer.read;
0 => buffer.pos;
<<< " ok " >>>;
0.5::second => now;
On 26 Jan 2008, at 17:00, chuck-users-request at lists.cs.princeton.edu
> fre 2008-01-25 klockan 16:15 +0000 skrev Ollie Glass:
>> Hello ChucKers,
>> I'm using SndBuf to loop samples. I read a sample and call .loop(1)
>> to do this, but if I call .freq(x) nothing plays, where 0.25 < x < 4.
>> Is this an issue with SndBuf or am I missing something?
> Could you please send the chuck-file (or if it's really big or so,
> a shorter demo of what's happening). Relevant output would also be
> And which version you are using.
> But the chuck-file is most important.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the chuck-users