A "game state variable" can be used to control the sound.
Sound designer can produce a game in such a way that certain sound is played back or playback parameters such as the volume are modified when a certain game state variable exceeds a threshold.
By using this function, advanced sound direction is possible without involving a programmer.
Programmer can set the situation of the game to the game state variable to control the sound playback. For example, a direction such as playing back claps when the excitement value exceeds 100 can be achieved.