[Openal] Doppler effect&other trouble

Garin Hiebert garinh at cheesetoast.net
Thu Sep 21 13:21:19 PDT 2006


>
> I'm guessing you're using the sample implementation.  First of all, 
> you should definitely try the latest source from the Subversion 
> repository (look at http://www.openal.org/downloads.html for 
> instructions), and see if that does any better for you.  I suspect 
> that a lot of the issues you're pointing out will go away with the 
> latest code.
Follow Jason's advice and make sure you're using the latest code out of 
Subversion.  Then, read up on how Doppler works in the 1.1 specification 
(see the docs on the OpenAL site -- section 3.5.2 of the 1.1 spec, 
and/or the doppler section of the Programmer's Guide), and use the 
implementation in that way.

Doppler was an area of confusion and inconsistency with OpenAL 1.0 -- 
hence the changes for 1.1.  Specifically, alDopplerVelocity is not a 
preferred entry point any more -- use the "speed of sound" and "doppler 
factor" parameters to control Doppler.

I'm not intimately familiar with the Linux implementation, so I don't 
know the current status of the Subversion code on 1.1 support -- there 
may be bugs and the workaround(s) may encompass using 1.0 functionality 
(alDopplerVelocity), but hopefully the 1.1 method can be made to work, 
as that's how things are _supposed_ to work at this point...

Hope that helps,

Garin



More information about the Openal mailing list