interessante argomento, ci sono diverse risorse in rete
https://www.google.com/search?q=html+audio+waveform