Any solution for the music delays?

Yes, this is normal, at least when RPG Maker uses the Web Audio backend (which it should on most desktop browsers except maybe Mac OS X's Safari).
Is this also the case when testing locally through the RPG Maker program?

 

The only exception is battle music due to a small oversight in the PreloadManager which should be fixed soon, so when starting a battle you'll probably still see this delay before the music launches.
 

Is this a symptom of the current PreloadManager, or a problem with the original engine that the PreloadManager fails to correct (for the time being)? Because I don't actually notice a delay in the battle music, like I do with all the other BGMs.
Is this also the case when testing locally through the RPG Maker program?

 

 

Is this a symptom of the current PreloadManager, or a problem with the original engine that the PreloadManager fails to correct (for the time being)? Because I don't actually notice a delay in the battle music, like I do with all the other BGMs.
It's more like a design oversight in MV that is worked-around with a plugin, but different solutions are right for different reasons. 

You can only optimize for Network, Disk (HDD/SDD), or CD/DVD/BD disc. Typically games shipped on discs require loading the entire audio except for streams into the system memory. Games that are designed for network use would try to cache-primer by loading the next piece when the player gets close enough to where it would be necessary. Games designed entirely to be played on a HDD or SDD typically rely on the underlying disk cache to get things right, but that doesn't account for decoder time, and this is where the design oversight comes in.

WebAudio is not meant for long sounds. It has to fully decompress it into memory, so the longer the sound/music, the longer it takes to load, even on the fastest systems. Games that aren't HTML5 tend to stream music from disk while loading only reusable sounds into ram.

The main reason why you'd want to load an entire music track into memory is if there are cue points (Eg loop start/end) so that there can be a seamless loop rather than a re-request across the network if it's being streamed over the network. On a CD/DVD/BD there is usually expensive seek times which is why you'd want to load the entire track, or at least it's compressed state into ram. Hence "music latency" is only reduceable by either having a fast CPU and Disk or by making the music files much smaller. Preloading works around it only so far as the system has available memory.

If we went back to how music was generated on 8-bit and 16-bit consoles, it wouldn't take 100MB of ram to decompress an audio file, let alone several seconds to load it.
Ooh, that sounds nasty. I too noticed the lag when running the default music while testing (I write my own later). I tend to make shorter loops and sound files and tinker with music generation using skills from the 16 bit console era. I probably wouldn't have much problems (I do make retro games after all, hehe), but I'll still check into that. I have shoddy no name machines from china to work with, and if these plugins work, i'll let y'all know.
Run this game in Windows XP Compatibility Service Pack 3 And it should help. It worked for me, no audio lag so far. This can be done by right clicking the shortcut or .exe file and clicking troubleshoot compatibility.
@lildeviousdude I think you posted in the wrong topic - this is about a problem with MV, which basically has no exe but runs in a browser (the supplied exe is nothing but a browser that autostarts the index.html and contains no part of the game)


So your advice makes absolutely no sense here (and the lag is due to loading times in browsers who handle data differently)
@Andar oh, my bad, he mentioned using the playtest and it acting like a browser, and I found this while looking for the solution of audio lag in game so I thought this was for that... Seems I was wrong

Original thread: https://forums.rpgmakerweb.com/threads/any-solution-for-the-music-delays.51186/