[Openal] ConvertReverbParamaters() from EFX-Util
Daniel PEACOCK
dpeacock at creativelabs.com
Wed Mar 11 09:35:47 PDT 2009
Hi Christopher,
> 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?
Not with the current efx-util.lib.
> > 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.
;)
If you like I can put together a new function in the efx-util.lib that
updates an EAX Reverb Properties structure given a new value for the
Environment Size property. You could take the output of that and feed it
into the existing ConvertReverbParameters function.
Dan
Creative Labs, UK
More information about the Openal
mailing list