Menu

#1 after a few minutes, the sound gradually becomes corrupted

open
nobody
None
7
2010-02-10
2010-02-10
BenRayfield
No

About version 0.4, when streaming data from the hard-coded data source: http://noosphere.princeton.edu

This is probably because of always adding to certain vars then doing Math.sin of those vars, and the vars get too big and roundoff error causes the audio distortion. If thats the problem, this can be fixed by subtracting any multiple of 2*Math.PI (multiplied by the speed var probably) before those vars get too big, to keep them in a good range.

Discussion