Multiple music tracks in sync

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I…

What’s the best way to play multiple music tracks and keep them in sync. Im using .ogg files. In the game you find band members and I raise the volume on that track when they’re found

What is the expected result

It works pretty well playing locally…but streaming on the gd store…less so. Is it best to tick the music box in resources or not?

What is the actual result

Sometimes they’re slightly out of sync

Related screenshots

Please include a screenshot of the full related events including both conditions and actions.
And screenshots to help showing us the issue.

Project files (optional)

Insert a minimal game showing your issue in a .zip or .rar.

After reading through threads - check ‘play as music’ and it plays straight away, check ‘play as sound’ and it waits until it is fully downloaded first. So if i check play as sound will it be waiting until all the tracks are downloaded before playing the scene and so it will be less likely that the tracks are out of sync when the scene starts
?

Welcome to GDevelop forums, Dave Dorkmouse.
Mostly your did read my reply.
“Preload as sound” will cause the engine to load the entire resource during the loading screen and the game will not start until all the audio you marked as “preload as sound” has been %100 loaded.
“Preload as music” loads the first piece of audio enough to start in sync.
The reason for the possible delay (asynchronization) on gd.games and any online gaming platform is the speed of the Internet for downloading audio, unlike standalones that audio are ready and already packaged with the executable.
As for your question, yes but will make the loading longer.

Many thanks for your help. I’ve tried out both load as music and load as sound and i think there’s always going to be a chance of things being out of sync when playing online. I decided not to play the tracks at the beginning of the scene but wait a few seconds first.
thanks for replying.