Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.17.8543 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2022.1.17
Concept: Switches

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:

  • Ground_Material
    • Concrete
    • Tiles
    • Metal
    • Sand
    • Water
  • Machine_Mode
    • Standby
    • Idle
    • Medium
    • High.

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.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise