annotate divergence/results.txt @ 38:adeb88787645

fixed all problems for 16 bit mono output
author Robert McIntyre <rlm@mit.edu>
date Mon, 31 Oct 2011 07:43:44 -0700
parents 094a92b556a2
children
rev   line source
rlm@35 1 sqr-1khz, a mono 16 bit sound file, diverges at sample 9
rlm@35 2 haydn, a stereo 16 bit, does not diverge to 350 samples.
rlm@35 3 pure, mono 16 bit, diverges at sample 9
rlm@35 4 sqr-10Hz, a mono 16 bit, diverges at sample 10
rlm@35 5 sqr-100Hz also diverges at 10.
rlm@35 6
rlm@35 7
rlm@35 8 calling audioRenderer.updateSourceParams in main update loop doesn't
rlm@35 9 change output
rlm@35 10
rlm@35 11 audioRenderer.playSource vs source.play doesn't make a difference with
rlm@35 12 pure (and probably doesn't make any difference)
rlm@35 13
rlm@35 14
rlm@35 15 channel starts at -1, changes to 0 when playing starts, then stays the
rlm@35 16 same through divergence.
rlm@35 17
rlm@35 18
rlm@36 19 surprisingly, supporfEFX doesn't affect anything.
rlm@35 20
rlm@35 21
rlm@36 22 When things are off, they only appear to be off by one byte. main
rlm@36 23 will be at x and aux will be at x+1 or x-1.
rlm@36 24
rlm@36 25 Setting audioNode paramaters changes the severity of the difference
rlm@36 26 but not its onset.
rlm@36 27
rlm@36 28
rlm@36 29 Non-positional sound has no problems.
rlm@36 30
rlm@36 31
rlm@36 32 Divergence gets worse the longer things run.
rlm@37 33
rlm@37 34
rlm@37 35 As the sound source moves about the listener in a circle, the sound
rlm@37 36 should be at a constant volume, since the distance between the source
rlm@37 37 and listener is constant. Instead, the sound varies depending on where
rlm@37 38 the thing is in the circle. Main cuts out at around 90degrees, while
rlm@37 39 aux cuts out at around 180 degrees.