Version

menu_open
Wwise SDK 2021.1.14

◆ EstimateHFDamping()

AKSOUNDENGINE_API AKRESULT AK::SpatialAudio::ReverbEstimation::EstimateHFDamping ( AkAcousticTexture in_textures,
float *  in_surfaceAreas,
int  in_numTextures,
AkReal32 out_hfDamping 
)

Estimate the high frequency damping from a collection of AkAcousticTextures and corresponding surface areas. The high frequency damping is a measure of how much high frequencies are dampened compared to low frequencies. > 0 indicates more high frequency damping than low frequency damping. < 0 indicates more low frequency damping than high frequency damping. 0 indicates uniform damping. The average absorption values are calculated using each of the textures in the collection, weighted by their corresponding surface area. The HFDamping is then calculated as the line-of-best-fit through the average absorption values.

Parameters
in_textures A collection of AkAcousticTexture structs from which to calculate the average high frequency damping.
in_surfaceAreas Surface area values for each of the textures in in_textures.
in_numTextures The number of textures in in_textures (and the number of surface area values in in_surfaceAreas).
out_hfDamping Returns the high frequency damping value. > 0 indicates more high frequency damping than low frequency damping. < 0 indicates more low frequency damping than high frequency damping. 0 indicates uniform damping.

Definition at line 158 of file AkReverbEstimation.h.

References AK_Success, CalculateSlope(), and GetAverageAbsorptionValues().


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise