annotate divergence/results.txt @ 37:094a92b556a2

still trying to debug stupid program
author Robert McIntyre <rlm@mit.edu>
date Mon, 31 Oct 2011 02:35:35 -0700
parents 2a525e937d86
children adeb88787645
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
rlm@35 9 calling audioRenderer.updateSourceParams in main update loop doesn't
rlm@35 10 change output
rlm@35 11
rlm@35 12 audioRenderer.playSource vs source.play doesn't make a difference with
rlm@35 13 pure (and probably doesn't make any difference)
rlm@35 14
rlm@35 15
rlm@35 16 channel starts at -1, changes to 0 when playing starts, then stays the
rlm@35 17 same through divergence.
rlm@35 18
rlm@35 19
rlm@36 20 surprisingly, supporfEFX doesn't affect anything.
rlm@35 21
rlm@35 22
rlm@36 23 When things are off, they only appear to be off by one byte. main
rlm@36 24 will be at x and aux will be at x+1 or x-1.
rlm@36 25
rlm@36 26 Setting audioNode paramaters changes the severity of the difference
rlm@36 27 but not its onset.
rlm@36 28
rlm@36 29
rlm@36 30 Non-positional sound has no problems.
rlm@36 31
rlm@36 32
rlm@36 33 Divergence gets worse the longer things run.
rlm@37 34
rlm@37 35
rlm@37 36
rlm@37 37 As the sound source moves about the listener in a circle, the sound
rlm@37 38 should be at a constant volume, since the distance between the source
rlm@37 39 and listener is constant. Instead, the sound varies depending on where
rlm@37 40 the thing is in the circle. Main cuts out at around 90degrees, while
rlm@37 41 aux cuts out at around 180 degrees.