Issues when loading BGM

So, I'm having a couple issues when loading BGM.
First of all, the engine is really temperamental when deciding which ones to play and which ones don't.

Secondly, there is a noticeable delay at the beginning of playback. Usually, however, the loop works fine.+

What could be wrong? Are there filesize/bitrate guidelines to follow?
Are you using Bluetooth headphones/speakers?
nope - wired.
your description sounds like loading delay. That cannot be prevented, but it can be minimized by reduzing filesize.
However there is a limit to compression rates - if your BGM is too long (as in several minutes long) then you'll have to accept the fact. RMMZ is HTML5 based after all, but can't use streaming to start before loading.
your description sounds like loading delay. That cannot be prevented, but it can be minimized by reduzing filesize.
However there is a limit to compression rates - if your BGM is too long (as in several minutes long) then you'll have to accept the fact. RMMZ is HTML5 based after all, but can't use streaming to start before loading.
No bgm longer than 5 minutes, if I can help prevent it. What is an acceptable filesize?

Original thread: https://forums.rpgmakerweb.com/threads/issues-when-loading-bgm.143857/