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

  1. add the Spectrogram plugin script tag
  2. create a WaveSurfer instance
  3. add a container HTML element for the spectrogram
  4. create a Spectrogram instance in the WaveSurfer's "ready" event callback