[Solved] BGM stops playing after closing text box?

Hello! So I'm trying to make a cutscene and during it I have it play different music (done by fading out the music and using the play bgm command). The problem is when a text-box is closed, the music suddenly stops playing. Is there a reason for this? Did I use the wrong command? Whatever it is, I would like to learn how to stop this from happening so that I can make my cutscenes better.

Edit: This is the part of the event where this happens.
Spoiler: image
(For reference, Dick and Jack are 2 major characters in the story)
Capture.PNG

Capture.PNG
Hi!
That is not normal. Can you show your event?
Do you are using any messages or sounds plugin?
You likely have a command somewhere that is stopping the BGM, or you played it as a ME instead of a BGM. We can only know if you show us your event. Please take a screenshot but do not crop anything out of the event window - we want to see the tabs and conditions as well as the commands.
Hi!
That is not normal. Can you show your event?
Do you are using any messages or sounds plugin?

Yes, I am.

For message plugins, I am using Yanfly's Message core (along with extended message packs 1 and 2), Yanfly's Message speed option, Irina's auto message color, and SRDude's Auto Name Box plugin.

I only have one audio plugin, being Irina's Anti-Audio delay plugin.

As for the event. I'll add it to my original post in a minute. I need to get the screenshots first.
You likely have a command somewhere that is stopping the BGM, or you played it as a ME instead of a BGM. We can only know if you show us your event. Please take a screenshot but do not crop anything out of the event window - we want to see the tabs and conditions as well as the commands.
I've edited my post to have a screenshot of the event
At what point does the BGM stop? Which text? Does it stop when the text displays, or only when you click to close the text box?

If you disable your plugins, does the issue still happen?

Oh - I notice you've got a fadeout BGM that takes 1 second, followed by a wait of 10 frames, then a play BGM. Because you're not waiting for the fadeout to finish (1 second = 60 frames) before playing the next BGM, I wonder if the fadeout is still happening, so the first BGM does 10 frames of fading out, then the second one begins but fades out in the remaining 60 frames. Try changing your wait 10 frames to 60 to see if it makes a difference.

Please show the rest of the event - the part below what you've already got. If the issue happens when you close the message window, the cause could be further down (I see you've got another fadeout BGM there, so you might have done the same thing).
At what point does the BGM stop? Which text? Does it stop when the text displays, or only when you click to close the text box?

If you disable your plugins, does the issue still happen?

Oh - I notice you've got a fadeout BGM that takes 1 second, followed by a wait of 10 frames, then a play BGM. Because you're not waiting for the fadeout to finish (1 second = 60 frames) before playing the next BGM, I wonder if the fadeout is still happening, so the first BGM does 10 frames of fading out, then the second one begins but fades out in the remaining 60 frames. Try changing your wait 10 frames to 60 to see if it makes a difference.

Please show the rest of the event - the part below what you've already got. If the issue happens when you close the message window, the cause could be further down (I see you've got another fadeout BGM there, so you might have done the same thing).

The BGM stops after Jack's first box of dialogue is closed.

Changing the wait to where you wait 60 frames instead of 10 didn't change anything sadly.

I've added the rest of the event to the post. Like you asked
So Jack says "Alright, are you ready?" and when you close that message box, the BGM stops? Abruptly, or fades out? If you leave the message box open for longer, does the BGM continue to play while it's open and still stop when it closes?

If you disable your plugins, does the issue still happen? (this is the second time I've asked this - please try it and give results).
So Jack says "Alright, are you ready?" and when you close that message box, the BGM stops? Abruptly, or fades out? If you leave the message box open for longer, does the BGM continue to play while it's open and still stop when it closes?

If you disable your plugins, does the issue still happen? (this is the second time I've asked this - please try it and give results).
Yes, that's when it abruptly stops. If I leave it open it will play for longer, but it will still stop after closing the box

However, I forgot to disable my plugins after your first suggestion (sorry), So I disabled my text and audio based plugins this time and it did keep playing after I closed the box! So I decided to start turning on some plugins until I found which one stopped the music(It was Anti-audio delay).

I removed the plugin and now everything works fine! Thanks for the help! and again, sorry for forgetting your suggestion the previous time.
It was Anti-audio delay
That doesn't surprise me, as the name indicates it obviously does something with audio.

Do you need that plugin? You may just need to take another look at how it's set up - plugin parameters, plugin commands, anything else that it uses to trigger audio changes.

One mistake a LOT of people make with plugins is that they just add them to their project and don't take the time to read the instructions or configure them. If the plugin uses a switch and has a default switch id allocated, then you use that switch for something else, you are going to unknowingly tell the plugin to do something.
That doesn't surprise me, as the name indicates it obviously does something with audio.

Do you need that plugin? You may just need to take another look at how it's set up - plugin parameters, plugin commands, anything else that it uses to trigger audio changes.

One mistake a LOT of people make with plugins is that they just add them to their project and don't take the time to read the instructions or configure them. If the plugin uses a switch and has a default switch id allocated, then you use that switch for something else, you are going to unknowingly tell the plugin to do something.
I used to make that mistake a lot, though with this project I've been trying to put plugins in the correct order as well as follow the instructions. This plugin had no specific instructions though.

While I don't exactly need it, I would like to have it since I really don't like the audio delayw when trying to play larger bgms so I'm going to try to re-download it, then change the order if it's not working, then if it's still not working, I'll try one other plugin that attempts to fix the audio lag/delay issue.
Is it a free plugin? Can you post a link?
So is this solved like your thread title suggests?
Is it a free plugin? Can you post a link?
yeah, this is the link https://atelieririna.itch.io/anti-audio-delay
So is this solved like your thread title suggests?
Well, The original issue is solved, though we're talking about the bug.
I guess if you can find another audio plugin that works, use that. If not, and you need this one, maybe start a new thread in plugin support with a link to that plugin and another link back to this thread, and see if anyone can help you troubleshoot.

Original thread: https://forums.rpgmakerweb.com/threads/solved-bgm-stops-playing-after-closing-text-box.124791/