Music Indicator at Corner of Screen

How would I add a little pop up at the top corner of the screen saying what music is currently playing? It'd go away after a few seconds of the new track playing. Is there a plugin that already exists or would I have to code it? Thanks in advance.
I have moved this thread from JS Plug-in Release to JS Plug-in Requests.
How would I add a little pop up at the top corner of the screen saying what music is currently playing? It'd go away after a few seconds of the new track playing. Is there a plugin that already exists or would I have to code it? Thanks in advance.
Everytime you change the music, such as when you enter a new map or scene, store that value (the song id, or name as a string in quotation marks) in a variable. Then use a HUD to display that variable.

E: Apparently you can use this script to get the current BGM, so just have the HUD display that.
AudioManager._currentBgm.name

SRD HUDMaker:
Everytime you change the music, such as when you enter a new map or scene, store that value (the song id, or name as a string in quotation marks) in a variable. Then use a HUD to display that variable.

E: Apparently you can use this script to get the current BGM, so just have the HUD display that.
AudioManager._currentBgm.name

SRD HUDMaker:
Thanks so much! Believe it or not, I've never been introduced to SRD HUD Maker before haha. I'll give an update to see if your solution worked.
Everytime you change the music, such as when you enter a new map or scene, store that value (the song id, or name as a string in quotation marks) in a variable. Then use a HUD to display that variable.

E: Apparently you can use this script to get the current BGM, so just have the HUD display that.
AudioManager._currentBgm.name

SRD HUDMaker:

So I got everything set up, and I input the code. But I don't think I did it correctly. It gives an error saying that the name is null. Any solutions? I checked the debug menu and it said the error was hidden. Please tell me if I set anything up wrong! Thanks.


1694178592819.png

1694178645030.png

1694178862720.png

1694178742850.png
So I got everything set up, and I input the code. But I don't think I did it correctly. It gives an error saying that the name is null. Any solutions? I checked the debug menu and it said the error was hidden. Please tell me if I set anything up wrong! Thanks.


View attachment 275944
View attachment 275945
View attachment 275947
View attachment 275946
I don't know the MZ version of SRD HUDMaker and you have half the screen hidden but I suspect you're either putting it in the wrong field and/or you shouldn't have that semicolon at the end

You could also try this MZ plugin
So I got everything set up, and I input the code. But I don't think I did it correctly. It gives an error saying that the name is null. Any solutions? I checked the debug menu and it said the error was hidden. Please tell me if I set anything up wrong! Thanks.


View attachment 275944
View attachment 275945
View attachment 275947
View attachment 275946
AudioManager._currentBgm will return null if no music is playing, so trying to access its name will throw an error. Doing this instead should help:

Code:
AudioManager._currentBgm ? AudioManager._currentBgm.name : "Nothing"

At least assuming everything else is good; I've never used HUD Maker myself.
You could also try this MZ plugin
This plugin is amazing, and exactly what I am looking for! Thanks for finding it!

I'm gonna try and get familiar with HUD maker, before I try anymore things with it, but for now this problem is solved!

Original thread: https://forums.rpgmakerweb.com/threads/music-indicator-at-corner-of-screen.160975/