Best option for playing local music files


#1

Hi I’m writing an electron app that has to play a variety of music files (mp3/flac/wav/etc.), most of the JS libraries I’m finding are for WebAudio, but is that really what I want to be using? Thanks!


#2

WebAudio’s good if you want to do anything more involved with your audio, otherwise a simple <audio> tag should do the job.

That being said, if you’re using a library, you could just go for WebAudio and let it handle the audio for you.