Sync audio playback with another audio

Is there a way to play audio from a point different from the begining? Or seek time?
Is there a way to monitor audio playback?

I want to play an audio in sync with an audio that is already being played…

Thanks

The Defold sound system is pretty bare bones but I’m sure it can be done with something like FMOD (https://defold.com/assets/fmod/)

If the sounds are the same length, one way of doing this is to start the two sounds that should sync at the same time. Then use sound.set_gain() to mute/unmute the respective sound.

2 Likes

Also you can try OpenAL extension by @sergey.lerg. Look at source.time property.

1 Like

That is not guaranteed to work since the sound threading update