This is outdated documentation for wavesurfer.js v6!
Please refer to the new documentaton and examples.
Spectrogram plugin
Adds a simple spectrogram to your wavesurfer.js instances.
Quick start
- add the Spectrogram plugin script tag
- create a
WaveSurfer
instance - add a container HTML element for the spectrogram
- create a Spectrogram instance in the
WaveSurfer
's"ready"
event callback