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