[chuck] no sound from sndbuf?

Philip Davidson philipd at alumni.princeton.edu
Thu Sep 2 20:02:50 EDT 2004

there's a bug in that example.

sndbuf needs to have a non-zero rate
specified before it starts to play.

1.0 => buf.rate;
will do the trick

.rate controls the playback speed,
relative to the 'proper' speed of the file
and it's set to 0 by default

the example has been updated in cvs.

that bug aside, i've noticed some issues
with sndfile that i'm hoping to track down,
so let me know if you find more errors

thank you!


More information about the chuck mailing list