Different audio settings for different locations

So I was under the impression you could add zones that trigger a certain snapshot to be used, but this doesn’t seem to be the case. I could swear I heard or saw something about this when audio mixers were first introduced, but I can’t seem to find anything about it.

Anyway. If I want a certain snapshot be used when indoors, and another one used when outdoors, what’s the preferred way of achieving this? I was thinking of simply adding a trigger collider which triggers a snapshot transition. Is that a good way to solve this?

A pretty obvious problem with this would be that the trigger is basically boolean, which is not very good. Rather, if you approach an open window, you’d want the snapshot to smoothly transition to the outside one based on the distance from the window. So that wouldn’t work with only using a trigger.

Does unity provide tools for this sort of thing, or would I have to code this manually? Or are there any assets for this?

To answer your first question, triggers are certainly the way to go here.

In regard to your second question, you are able to specify a transition time in seconds as well as the interpolation curve shape so that snapshot transitions are not immediate.

The code to do so is basically a one-liner, but both Master Audio and PSAI can do this without writing any code. PSAI is only for music, whereas Master Audio is a full-featured audio asset for sound effects and music.