// SndBuf 3: recording with WvOut then playing again SinOsc s => dac => WvOut w => blackhole; w.wavFilename( "newRecording.wav" ); repeat( 100 ) { s.freq() * 1.01 => s.freq; 10::ms => now; } s =< dac; w.closeFile(); SndBuf buf => dac; "newRecording.wav" => buf.read; -1 => buf.rate; 1 => buf.loop; buf.length() => now;

File name to use in ChucK:

Local file to upload:

shred | code | time | remove
--- | --- | --- | ---