Seamless audio transition from file to file?

Hey! I started using this script however I wanna ask if its common to have that in the start of the song or the transition, there is a couple seconds of nothing and then starts late. For example the script call will be called but the song will start a couple seconds after but it starts not from the very start, but from the equivalent of seconds that passed since the call.

Same with the transition, sometimes it goes fully silent for some seconds and then goes back. I checked if maybe it was my pc being slow but no, its not making my pc go slower or anything, nor is the game itself freezing. Why could this be?
I know you checked your pc already, but what about background programs running? I had a simillar issue with music being out of timings before (though not with this script, but in general), and i noticed that active torrent were causing that, despite pc is not being loaded even to 50% of resourses.
Use the two tracks one as a BGM (normal) and the other as a BGS (muffled). Have them both start playing at the same time, but BGM with normal volume and BGS with volume 0. When you move to the other room, reduce BGM volume to zero and BGS volume to normal.

Script is

ConfigManager['bgmVolume'] = x;
ConfigManager['bgsVolume'] = y;

Original thread: https://forums.rpgmakerweb.com/threads/seamless-audio-transition-from-file-to-file.165784/