[chuck-users] WvIn on osx and linux
jo
jj.metzger at googlemail.com
Wed May 6 09:30:18 EDT 2009
Kassen,
that's exactly what's happening, it works fine if I force the sampling
rate to 44.1kHz!
Thanks a lot!
jo
Am 06.05.2009 um 15:09 schrieb Kassen:
> 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.
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
More information about the chuck-users
mailing list