rlm@35: sqr-1khz, a mono 16 bit sound file, diverges at sample 9 rlm@35: haydn, a stereo 16 bit, does not diverge to 350 samples. rlm@35: pure, mono 16 bit, diverges at sample 9 rlm@35: sqr-10Hz, a mono 16 bit, diverges at sample 10 rlm@35: sqr-100Hz also diverges at 10. rlm@35: rlm@35: rlm@35: calling audioRenderer.updateSourceParams in main update loop doesn't rlm@35: change output rlm@35: rlm@35: audioRenderer.playSource vs source.play doesn't make a difference with rlm@35: pure (and probably doesn't make any difference) rlm@35: rlm@35: rlm@35: channel starts at -1, changes to 0 when playing starts, then stays the rlm@35: same through divergence. rlm@35: rlm@35: rlm@36: surprisingly, supporfEFX doesn't affect anything. rlm@35: rlm@35: rlm@36: When things are off, they only appear to be off by one byte. main rlm@36: will be at x and aux will be at x+1 or x-1. rlm@36: rlm@36: Setting audioNode paramaters changes the severity of the difference rlm@36: but not its onset. rlm@36: rlm@36: rlm@36: Non-positional sound has no problems. rlm@36: rlm@36: rlm@36: Divergence gets worse the longer things run. rlm@37: rlm@37: rlm@37: As the sound source moves about the listener in a circle, the sound rlm@37: should be at a constant volume, since the distance between the source rlm@37: and listener is constant. Instead, the sound varies depending on where rlm@37: the thing is in the circle. Main cuts out at around 90degrees, while rlm@37: aux cuts out at around 180 degrees.