版本

menu_open
Wwise SDK 2023.1.4

◆ TransmissionLoss

AkReal32 AkRoomParams::TransmissionLoss

Characteristic transmission loss value for the Room, describing the average amount of sound energy dissipated by the walls of the room.

The Room transmission loss value is used in the following situations: 1) If a room tone is playing on the Room Game Object, in a different room than that of the listener. Transmission loss is only applied when the listener and the emitter are in different rooms. It is taken as the maximum between the emitter's room's transmission loss value and the listener's room's transmission loss value. 2) If, for both the emitter and listener's Rooms, geometry is not assigned with AkRoomParams::GeometryInstanceID, or the Geometry Instance that is assigned has AkGeometryInstanceParams::UseForReflectionAndDiffraction set to false. In this case, room transmission loss is applied to the direct path when the emitter and listener are in different rooms. When geometry is available, the transmission loss value is calculated instead by intersecting a ray with the geometry between the emitter and listener. Transmission loss on geometry overrides room transmission loss, allowing a room to have varying degrees of transmission loss (for example, some transparent walls and some opaque walls). 3) To spatialize the output of the Room Game Object. A low transmission loss value emphasizes panning the room towards the room's center (the center of the room bounding box) and a higher value emphasizes panning towards the room's portals.

When room transmission is applied directly to either a room tone (situation 1) or a point source emitter (situation 2), it is applied on the mix connection between the sound and the room. The transmission loss value is converted to volume attenuation, low-pass and/or high-pass filtering, using the transmission loss curves defined on the sound in Wwise Authoring.

备注: Even when relying on geometry for detailed transmission loss values (per triangle), it is still necessary to set AkSoundParams::TransmissionLoss to a representitive value so that the output of the Room Game Object is properly spatialized (situation 3).

Valid range: (0.f-1.f)

在文件 AkSpatialAudio.h432 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅