0

I've been trying to create a button that plays an audio and can play multiple instances of the same audio file at the same time.

I've tried doing this but it stops the current audio clone and starts a new one. An example of what I want is this site: https://airhorner.com/

Here's my current code:

var x = new Audio('myAudio.mp3');

x.currentTime = 0;
x.play(); 

0 Answers0