(RPG maker VX Ace) Remove fade in BGM after ME

Not sure if I titled it correctly but when you play an ME, the BGM that follows always has a slight fade in. It's very annoying and I don't like it as it stops a smooth transition when I want a song to have a non looping opening.

I know it is a matter of changing one of the default scripts somewhere to get rid of the fade in effect but I'm not sure exactly where.
Audio-processing is programmed and compiled outside of the open-for-edit Ruby-code of RGSS.

Means this behaviour can't be changed.

~炬燵あ
Audio-processing is programmed and compiled outside of the open-for-edit Ruby-code of RGSS.

Means this behaviour can't be changed.

~炬燵あ
Ah I see, that's annoying, but good to know 👍
You want to restart the song? Do I inderstand that right?

And the ME is evented? Then you could stop the BGM right after you start the ME. Then, after the ME, you use the command "play BGM"

This does only work for evented ME, though. So not for the victory music after a battle, for example.
You want to restart the song? Do I inderstand that right?

And the ME is evented? Then you could stop the BGM right after you start the ME. Then, after the ME, you use the command "play BGM"

This does only work for evented ME, though. So not for the victory music after a battle, for example.
Nah you've got in wrong. The ME plays first as the intro to the song. It plays only once, it's then followed by the BGM which plays the rest of the song and that loops. If the fade in that follows the BGM after the playing of an ME wasn't there, the transition would be seamless.

The eventing is quite literally just:

Play ME: 'song opening', 60, 100
Play BGM: 'song', 60, 100
You could try it like that, if you time it exactly:
Play ME
Wait X frames
Play BGM

I don't think there is a fade in after ME if you start a new BGM file, but I didnt test it.

Also, I don't know how quickly VX Ace would be able to load a BGM file. In MV there is a slight delay, which would make it impossible to start the BGM the exact right moment. I hope this isn't the case in VX ace. Otherwise it is just too bad, but eventing it would not work. Not with a clean transition.

But this is all such a hussle. Are you sure its worth all the afford?
You could try it like that, if you time it exactly:
Play ME
Wait X frames
Play BGM

I dont think there is a fade in after ME if uou start a new BGM file, but I didnt test it.

Also, I dont know how quickly VX Ace would be able to load a BGM file. In MV there is a slight delay, which would make it impossible to start the BGM the exact right moment. I hope this isnt the case in VX ace. Otherwise it is just too bad, but eventing it would not work. Not qith a clwan transition.

But this is all such a hussle. Are you sure its worth all the afford?
That's a solution worth testing, it IS a hassle but I think it's worth it! I'll see if the waiting frames method works!
That's a solution worth testing, it IS a hassle but I think it's worth it! I'll see if the waiting frames method works!
The timing needs to be exact though. If your intro is 3 seconds, you'd need 180 frames, but if your intro is 2.9 seconds, you need slightly less frames. (2×60=120 | 9×6=54 | 120+54=174) You'll need 174 frames. 6 frames less (oh wow, I could have just done 0.1×60... Because 3-2.9=0.1) 6 frames less seems like nothing, but 0.1 second of silence between the intro and the loop is something you will surely notice.

Anyhow, let me know how it works out.
The timing needs to be exact though. If your intro is 3 seconds, you'd need 180 frames, but if your intro is 2.9 seconds, you need slightly less frames. (2×60=120 | 9×6=54 | 120+54=174) You'll need 174 frames. 6 frames less (oh wow, I could have just done 0.1×60... Because 3-2.9=0.1) 6 frames less seems like nothing, but 0.1 second of silence between the intro and the loop is something you will surely notice.

Anyhow, let me know how it works out.
A ratio calculator was useful but I found out that the exact framing is a bit skewed? For example, one of the songs has an intro that's 19.4 seconds so that would mean 1164 frames. However, that still resulted in the fade in so I toyed around with it and wondered if the delay was inevitable after all BGMs following MEs regardless of the passage of frames - turns out an additional 10 frames are needed to bypass to fade in. It's very strange, and I don't understand why that is but it works as far as I'm concerned!

So thank you for suggesting the wait in between with frame count timing! Has helped immensely!

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-vx-ace-remove-fade-in-bgm-after-me.156818/