Re: Changing falloff curve in 3D mixer
Re: Changing falloff curve in 3D mixer
- Subject: Re: Changing falloff curve in 3D mixer
- From: "Timothy J. Wood" <email@hidden>
- Date: Sat, 14 Sep 2002 11:52:27 -0700
On Friday, September 13, 2002, at 04:30 PM, Chris Rogers wrote:
Hi Tim,
Currently there is no way to set this curve. I could add a property
implementing that in a future release, but for now you'll have to live
with the curve that is hard-coded into the algorithm.
Having this in a future release would be great. I'll log a feature
request.
One possibility
you *could* try is to pre-scale the distance parameter by some
non-linear
function before you send it to the 3D mixer. The trick would then be
to
find the function which gives you the gain roll-off you desire.
This would also have an effect on the doppler effect, but may not be
a bad effect -- something you could try fairly easily in any case...
What is the current hard coded curve? I would assume the gain is
unattenuated at zero distance and then falls off via something based on
the surface area of a sphere. Anyway, I can play around with this
until I figure it out, but it would be good to know what the
attenuation curve is (and it should be part of the documentation,
really).
Thanks!
-tim
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.