[chuck-users] WvIn on osx and linux

Kassen signal.automatique at gmail.com
Wed May 6 09:09:27 EDT 2009


Jo;
> This works fine on my mac. However, when I try to do this in linux, it
> fails, sort of. The first value is the same as on os x, but then they
> deviate, not completely, but significantly (more than 10%), so it can't be a
> simple rounding error.

Could it be that the wav is 44.1 KHz (probably the Mac default), that
your Linux install uses 48KHz (default on Linux, I think) and that
ChucK is attempting to compensate for the playback speed and
interpolate? That would muck up your data quite a bit, I imagine.

I suggest forcing the sample rate on Linux to be 44.1KHz and trying again.

Yours,
Kas.


More information about the chuck-users mailing list