Answer the question
In order to leave comments, you need to log in
Simultaneous playback of multiple HTML5 audio. How and why?
Hello! Happy New Year!!!
I dealt with html5 audio and there was such a glitch: the browser refuses to play more than two or three audio tags at the same time. A similar glitch occurs on three of the seven computers on which I tried. Everywhere fresh browsers are installed. Such a "feature" seems to be browser independent. I have it in Chrome and in FF and in IE, and on a neighboring computer everything is OK everywhere. I insert audio on the page like this:
<audio id="game_audio" loop controls>
<source src="r3.mp3" type="audio/mp3">
<source src="r3.ogg" type="audio/ogg">
</audio> Peu 2<br>
For tests, I compiled a small html . You can start several files for playback (they are all looped), turn their sound to a minimum, start some of the latest "Peu" and listen to how it plays through once, or even after two. Again, if you have this glitch. Moreover, if I run a couple of sounds in Chrome, and one in FF, then the glitch persists. Answer the question
In order to leave comments, you need to log in
It appears to be a problem with the sound card driver. When you have several sound sources, they are all mixed at the output into one, this can be done both by the program itself, visible and by the sound card driver.
Try to update the corresponding firewood
Maybe it's a web server that doesn't want to give multiple files to one client at the same time?
Try digging into the config.
Firefox - everything works. The only thing is that there is no volume control (it is present on your video)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question