waveform-data.js
waveform-data.js copied to clipboard
Waveform creation using WebAudio decodeAudioData() differs between browsers
Related to this audiowaveform issue, there is a difference between Chrome and Firefox when using decodeAudioData(). It appears that Chrome 75 skips information frames in MP3, while Firefox 67 does not (both browsers running on Ubuntu Linux).
I have created a demo page here that shows the difference between audiowaveform 1.0.12 and 1.1.0, where info frame skipping was introduced, and an example that uses the Web Audio API to compute the waveform data.
Also note https://github.com/WebAudio/web-audio-api/issues/1305.