I'm getting some strange results...
1)
You must always ensure your final distance is greater than your
largest possible observer distance. It doesn't clamp the result at the
final gain/distance pair when you exceed the final distance.
Instead it jumps back up to gain=1.0 (or worse, maybe a random gain?)
2)
The elliptical attenuation envelope created by setting different front
and back distance/gain arrays doesn't work. The effects always
appear spherical, with gain parameters somewhere between those specified
for front and back.
3)
This call:
seems to ignore the backGain array, and
instead uses the backDistance values as the backGain,
which of course fails miserably! This alternate form
seems to work:
