Wwise SDK 2022.1.2
There are scenarios in a game where you might want to play different sounds depending on the current status of the game. For example, if a character is running on a concrete surface and then moves onto grass, the sound of the footsteps should change to match the change of surface. To choose between different sounds, use Switches.
Using Switches and Switch containers, the Wwise user can define which sounds are played in each situation. Multiple Switch Groups can be created in Wwise to match the various cases where you might want to choose between multiple sounds. Each of these groups can contain multiple Switches. Switch containers can then use those Switch Groups and associate sounds to each Switch.
For example, your game could contain the following Switch Groups and Switches, which would be defined in Wwise by the sound designer:
For these Switches to work as designed by the Wwise user, the game must set the current Switch for each Switch Group whenever required.
Refer to the Wwise documentation for more information regarding Switches and Switch containers from the sound designer's point of view.
Refer to Integration Details - Switches for an overview of how to integrate Switches in your game.
Questions? Problems? Need more info? Contact us, and we can help!Visit our Support page
Register your project and we'll help you get started with no strings attached!Get started with Wwise