WvIn w => blackhole;
"data.wav" => w.path;
float n;
repeat(20)
{
1::samp => now;
w.last() => n;
<<< n >>>;
}
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. I'm relatively sure that the values on the mac are correct because I write the data to the wav file myself.
It's not obvious to me why the reading of any .wav file (using last()) should produce different values on different operating systems, but they do on my computers!
Does anyone know what could be going on here?
thanks,
jo