Audio fade in and out?

Is there a way of making audios volume increase and decrease based on a players position in regards to the audio in unity2D?

For example, I have static from a television in one room of the level, however when the player has moved to the next room the static will be quieter and when the player comes back into the television room, the volume increase.

There’s a property in the AudioSource component that lets you configure exactly that behaviour. Set the Spatial Blend property to 2D. Then expand the 3D Sound Settings and configure the decay curve. This curve represents the audio volume as a function of distance to the source.