My program requires multiple audios to start at the same time at startup, so that they are synchronized, but I need to start them muted. The problem is that they play for a fraction of a second when starting them this way, preventing it from being an initial mute.
Reproduction steps
// Set mute
for(const sound of sounds) sound.setVolume(0)
// Loop
for(const sound of sounds) sound.loop = true
// Play song
for(const sound of sounds) sound.play()
Code
// Set mute
for(const sound of sounds) sound.setVolume(0)
// Loop
for(const sound of sounds) sound.loop = true
// Play song
for(const sound of sounds) sound.play()
Description
My program requires multiple audios to start at the same time at startup, so that they are synchronized, but I need to start them muted. The problem is that they play for a fraction of a second when starting them this way, preventing it from being an initial mute.
Reproduction steps
// Set mute for(const sound of sounds) sound.setVolume(0)
// Loop for(const sound of sounds) sound.loop = true
// Play song for(const sound of sounds) sound.play()
Code
Live example
https://daftpunkins.vercel.app/
Screenshots
No response
Version
0.166.1
Device
No response
Browser
No response
OS
No response