Finding Name of Current BGM

I was creating my own simple weather effects with a common event and  I've figured out how to do everything except fade the background music a certain percentage.  I did some searching and almost found my answer with a small script. 


var myBgm = { name: "name of bgm", volume: 80, pitch: 100, pan: 100};AudioManager.playBgm(myBgm);




This script will work, but my problem is how do I find the name of the bgm that is currently playing? 
I've moved this thread to JS/Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.


try this:

Code:
AudioManager._currentBgm.name
Works perfect. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/finding-name-of-current-bgm.56122/