Wwise SDK 2024.1.1
|
The Rooms and Portals system is the primary mechanism to model the propagation of reverberation in Wwise Spatial Audio.
借助 Wwise Spatial Audio,我们可以使用混响效果器和辅助发送来设置后期混响。为了支持这一工作流程,Wwise Spatial Audio 利用了简单的上层几何抽象概念(即 Room 和 Portal)对其他 Room 内发声体的声音传播进行准确建模。The main features of room-driven sound propagation are diffraction, coupling and spatialization of reverbs, as well as smooth transitions between neighboring environments. 在 Wwise 中,声音设计师可以利用工具来模拟这些特性,从而完全掌控接下来的音频变换。The sound designer is responsible for designing individual environments. At runtime, Wwise Spatial Audio dynamically combines these environments and modulates parameters according the the position of the listener, sound emitters, as well as the location of rooms and portals in the world to create a rich and realistic experience.
A Spatial Audio Room is a symbolic representation of a distinct acoustic environment within the simulation. Outdoor spaces, for example, are also considered Rooms. Rooms are connected to one another using Portals, which define small, rectangular apertures through which sound can propagate.
Spatial Audio automatically handles various complex interactions between Emitter and Listener Game Objects and Rooms. Spatial Audio assigns each Room to a Game Object, and manages auxiliary send connections between Emitter and Room Game Object. Because each Room is assigned to a separate Game Object from the Emitter and Listener, Room reverb and ambience can be rendered with distinct 3D panning and spatialization parameters, and the Room can also be shared by all sound emitters inside. The reverb of a Room that is adjacent to the listener is rendered as if it were propagating through nearby openings, defined as Portals. Spatial Audio does so by creating sound positions, located at portal openings, to spatialize the reverb. The adjacent Room has an auxiliary send to the listener's room, forming a chain of coupled Rooms. The Room that contains the listener inside is rendered as a 3D sound field that envelops the listener. The orientation of the Room Game Object is distinct from that of the listener. The Room's sound field is rotated relative to the listener's orientation, which anchors the sound in the world instead of being fixed to the listener's head.
If rectangular Portals do not sufficiently describe the interface between Rooms, Reverb Zones can be used to model complex coupling between acoustic environments. Refer to Using Reverb Zones. With the exception of Reverb Zones, which require geometry to define transition regions, Rooms do not require geometry to be sent to Wwise. However, providing geometry in combination with Rooms and Portals provides a more detailed simulation, and permits diffraction around obstacles as well as diffraction through portals. Refer to 使用 Geometry API 模拟衍射和透射.
Spatial Audio uses the Rooms and Portals network to modulate the distance traveled by the sound, the apparent incident position, and the diffraction angle. The diffraction angle is mapped to a diffraction percentage value on the emitter game object and/or to a built-in game parameter called Diffraction, which designers can bind to properties (such as volume and low-pass filtering) using RTPCs.