Hi, I was told that in order to smoothen my slow-rated sample playback i should use .interp. In the script i added it but I don't hear any difference. Help!
me.sourceDir() + "sound.wav" => string filename; if( me.args() ) me.arg(0) => filename; SndBuf buf => dac; filename => buf.read; 2 => buf.interp; .2 => buf.rate; buf.length() => now; // play him 1::ms => now; // wait a bit 1 => buf.loop; // loop homer now buf.length() => now; // for 2 seconds .1 => buf.rate;
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users