Has anyone tried using the ConeSound setDistanceGain() method?
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:
        setDistanceGain(
                float[] frontDistance,
                float[] frontGain,
                float[] backDistance,
                float[] backGain)

 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:

        public void setDistanceGain(
                Point2f[] frontAttenuation,
                Point2f[] backAttenuation)

Reply via email to