版本

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.

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

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅