Distance ambience

I've been looking through the master plugin and I can't find a plugin that allows a bgm or other sound types to be played to be loud or quiet on a distance.


I.E there is a nightclub blasting dance music, but the further away I am the quieter it gets.


I've looked on for about an hour or so now and cannot find anything relevant to my searches and I'm not sure if anyone has actually made one yet. I do recall this has been done with VX Ace however.
I would probably use something like this, and paint a region a certain distance away that triggered a common event which lowered the volume, then perhaps another one that lowered it a bit more further on, then one to turn it off completely. http://yanfly.moe/2015/10/19/yep-17-region-events/
I was just gonna say something similar to what mlogan has said. It works really well if you set it up correctly. You can also use it to change music and the bgs of a map.
There's also this:
There's also this:

Bad idea, that plugin is dupper bugged, it put circular references in events making the game imposible to save in the maps whit that events, and not, i cant fix it, the problem is not of the plugin, but how webaudio works web audio have circular references, the plugin to work put webaudio in event objects, its imposible to fix it whitout completly remade the plugin from scratch
I was thinking of regional events, but a plugin command may save me valuable space for other region areas because I have region placements set out for vehicles and lights etc. I'm not sure if I can have them all shared.

Original thread: https://forums.rpgmakerweb.com/threads/distance-ambience.64952/