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().


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise