Relative Content

Tag Archive for javascriptaudio

audio.duration is not trustworthy?

I have a JS program that plays an audio until the very end.
I noticed than audio.duration slightly changes at the end of the audio, seemingly to have 0 <= audio.currentTime <= audio.duration always hold true :

How would I write data to an Audio File?

So I’ve been trying to make a DAW in the browser and I’ve got everything done except for exporting files. How would I go about writing data for an audio file?