ACE: Delay BGS from starting after battle ends.

Hey all. I'm currently working on a game where one of the features is shifting between two similar worlds. When you shift worlds, two versions of the same song are playing simultaneously in the BGM and BGS channels, so that you can shift seamlessly into the other map without restarting either song. The way I have it set up is as such: Map 1 Song 1: BGM Volume 100 Song 2: BGS Volume 0 When you shift to the other world: Map 2 Song 1: BGM Volume 0 Song 2: BGS Volume 100 So far, this has worked a lot better than I had expected it to. But there is one problem I'm running into. On Map 2, the victory fanfare (ME channel) gets overridden by the BGS channel, so only the first second or so gets played before BGS kicks in. Map 1 works fine because ME seems to take priority over BGM. 


So what I need is this: I'm looking to see if someone knows if there's a simple script available to delay BGS for a few seconds, so that the fanfare will play.


Thanks in advance!
 
The ME play and fade in/out is handled in the Audio class which is hidden from the script editor.




Audio.me_play(filename[, volume[, pitch]])
Audio.me_fade(time)


There's still a chance of overwriting it with complete new code to make it works differently by adding a snippet,


but without knowing the exact code used in the hidden class, there is a high risk of breaking some other important codes in the process.


Your best chance will be using SE instead of ME manually for victory fanfare to avoid the ME mute fade in/out of bgm. (ME will not mute bgs, just bgm)

Original thread: https://forums.rpgmakerweb.com/threads/ace-delay-bgs-from-starting-after-battle-ends.56698/