Region Specific BGMs with fading (and simple example)

Link: Github link (click on the "raw" button and then ctrl+s to save)

Hey everyone! :yhappy:

Original plugin was requested for free by @ObsceneSoul.

1614338294473.png


So, what does this plugin allow you to do?
Basically, you can assign a BGM to any region, as well as detailed fade-in / fade-out times and pitch/volume/pan.
Whenever a player enters the given region, whatever BGM was playing before will fade-out, and the new BGM that was assigned to that region will start playing.

If people like this plugin and want to request additions to it, don't hesitate to post a comment ^^

Now for the example:
we want ship2 to play when the player enters region 6, so:
1- enter the data for that region (note that if pitch is 0, the music won't play)
1614338506544.png


2- add the region on your map to specify where you want the bgm to be played
1614338583395.png


And that's it! Hope you enjoy this little plugin 😂

Terms of use:
Feel free to add this to your project! It doesn't matter whether it's commercial or not.
Also, I don't mind if you edit my plugin, as long as you send me a DM letting me know what you changed ^^

Link: Github link (click on the "raw" button and then ctrl+s to save)
This is awesome! Would it be possible to implement SE as well? I have a lively town and when an NPC leaves their home, you hear their doors everywhere. Would it be possible to create a region, where you hear the door or maybe the chickens or the river, but you won't hear them if you're somewhere else?

Edit: I'm very sorry, I just saw, that this is for MV and I'm using MZ. Guess I have to look again 😀

Original thread: https://forums.rpgmakerweb.com/threads/region-specific-bgms-with-fading-and-simple-example.133844/