after a few minutes, the sound gradually becomes corrupted
Status: Beta
Brought to you by:
benrayfield
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.