[Openal] ConvertReverbParamaters() from EFX-Util
Christopher Fitzgerald
solaryn at hotmail.com
Tue Mar 10 03:11:19 PDT 2009
Greetings,
> Hi Christopher,
>
> The ConvertReverbParameters function does convert EAX Environment Size into EFX Reverb Density.
Which is what I've been seeing.
>
In EAX, the Environment Size property is a little unusual. If you set
an entire Reverb preset (e.g. do a Set
DSPROPERTY_EAXLISTENER_ALLPARAMETERS call) then the EnvironmentSize
property is used to control modal density in the reverb engine. Because
you are setting all the other reverb parameters at the same time it
does not make sense for them to be altered further by the Environment
Size property. The value you have set for Environment Size is stored
because it will make a difference if you later modify it's value.
That makes sense.
>
When you make a call to change *just* the Environment Size property
(DSPROPERTY_EAXLISTENER_ENVIRONMENTSIZE) then this will change other
reverb parameters based on the flags you have set. The exact formulas
used are not available I'm afraid.
Is there any way to just change the environment size property when attempting to convert EAX reverb to EFX reverb?
> I
presume that you are asking because you are using the EFX extension and
you would like the ability to dynamically change the room size?
Personally, I prefer the density and diffusion model. For the purpose of this e-mail though, I need to convert the adjustment of EAX parameters to the adjustment of the equivalent EFX ones. Unfortunately, that includes dynamically changing the room size. :(
Given the descriptions in the EAX 2 specification, I may be able to come up with something that works. However, I was hoping there existed an official way that would do it correctly - and I'm a bit lazy. ;)
> Dan
>
> Creative Labs (UK) Ltd.
Thank you for your time.
Regards,
- Christopher
_________________________________________________________________
Chat with the whole group, and bring everyone together.
http://go.microsoft.com/?linkid=9650735
More information about the Openal
mailing list