[chuck-users] [chuck] miniAudicle-0.1.3.3 release (mac + linux + win)

Atte André Jensen atte.jensen at gmail.com
Sat Jul 29 15:50:10 EDT 2006


Spencer Salazar wrote:

> One other thing to try: does writing audio to a sndbuf work?

I never tried writing to sndbuf before, and couldn't find a quick 
pointer in the doc. I tried this (in chuck, not mA), but it didn't work:

sinosc s => sndbuf buf;
"t.raw" => buf.write;
1::second => now;

and also:

sinosc s => sndbuf buf;
"t.wav" => buf.write;
now + 1::second => time later;
0 => int i;
while(now < later){
     i => buf.pos;
     i++;
     1::samp => now;
}

Could you supply a sniplet that would record to sndbuf? I'd be most 
happy to test it!

-- 
peace, love & harmony
Atte

http://www.atte.dk      | quartet:      http://www.anagrammer.dk
http://www.atte.dk/gps  | compositions: http://www.atte.dk/compositions


More information about the chuck-users mailing list