Table of Contents
Game designers are constantly challenged to create the most compelling audio possible using the least amount of memory, CPU, assets, and disk space. States provide an efficient and creative way to approach this challenge. Using States optimizes your sound and music assets by giving you the flexibility to create different 'mixer snapshots' for the same sound, and apply these property changes globally in response to changes in the game. By changing the properties of a sound or music object, you can creatively match the Action in the game without adding new assets. When you are planning your project, you can decide when and where states will have the most efficient and creative impact.
Let's say you want to simulate the sound treatment that occurs when a character goes underwater. In this case you could use a State to modify the volume and Low-Pass Filter for sounds that are already playing. These property changes should create the sound shift needed to recreate how gunfire or exploding grenades would sound when the character is under water.
The following illustration demonstrates how the properties for the volume and Low-Pass Filter for the gunfire and grenade sound objects are affected when the underwater State is called by the game.