Audio processing in the background

I've been trying to generate a waveform from an audio file without having to play it all.


Looks like the only solution is using an OfflineAudioContext but this seems to work on ALL the browsers but Safari. Am I missing something?


https://codepen.io/nuthinking/pen/LzQqmP?editors=0010


Thanks a lot!

Audio processing in the background
 
 
Q