I have a created a simple soundboard in HTML which includes simple lines like this:
<body>
<audio id="sound1" src="mysound.wav"></audio>
<button class="button" onclick="document.getElementById('sound1').play()">My sound</button>
</body>
Is there any way the user can select which audio output device the sound will be played through, with a dropdown menu or similar?