Version

menu_open
Wwise SDK 2018.1.11

◆ ComputeAmbisonicsEncoding()

virtual void AK::IAkGlobalPluginContext::ComputeAmbisonicsEncoding ( AkReal32  in_fAzimuth,
AkReal32  in_fElevation,
AkChannelConfig  in_cfgAmbisonics,
AK::SpeakerVolumes::VectorPtr  out_vVolumes 
)
pure virtual

Computes gain vector for encoding a source with angles in_fAzimuth and in_fElevation to full-sphere ambisonics with order in_uOrder. Ambisonic channels are ordered by ACN and use the SN3D convention.

Parameters
in_fAzimuth Incident angle, in radians [-pi,pi], where 0 is the front (positive values are clockwise).
in_fElevation Incident angle, in radians [-pi/2,pi/2], where 0 is the azimuthal plane.
in_cfgAmbisonics Determines number of gains in vector out_vVolumes.
out_vVolumes Returned volumes (see AK::SpeakerVolumes::Vector services). Must be allocated prior to calling this function with the size returned by AK::SpeakerVolumes::Vector::GetRequiredSize() for the desired number of channels. You may obtain the number of channels from the order using the helper AK::AmbisonicOrderToNumChannels().

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