Instantly stop BGS from playing?

Can I somehow instantly stop BGS or BGM from playing without any fadeOuts? My only thought was to play another audio file with no sound what so ever instead, but I still get delays from time to time.

I've moved this thread to MV support. Thank you.



You can do this for BGM by play BGM None. I think play BGS None may do the same, but I usually do Fade out BGS and the shortest time it will accept (1 frame I think it is).
That should work.

JavaScript:
AudioManager.fadeOutBgm(0);// for BGM
AudioManager.fadeOutBgs(0);// for BGS
Yeah, I think I had problems cause I was using the "proximity" BGS plugin which can get a little buggy and interfere with sound commands. I've ended up using Script Call "AudioManager.fadeOutBgs(0.1);" instead.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/instantly-stop-bgs-from-playing.128973/