So I have this mp3 file called "beep" on my desktop, and I want to use javascript to play it. I know it's possible to use direct links to audio files on websites to play audios with javascript, but can I play it from my desktop too? If so, how do I do it, and what am I doing wrong?
var audio = new Audio("C:\Users\nmelssx\Desktop\beep");
audio.play();