6 May
2009
6 May
'09
9:09 a.m.
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.