I can think of two ways.
In the audio tag :
src="file:///C:/.../file.mp3"
or you can use Blob using the API files.
HTML:
<input type="file"></input>
JS:
audio.src = URL.createObjectURL(document.getElementsByTagName('input')[0].files[0]);
source
share