Markers plugin

Markers plugin very similar to what Pro Tools gives you. Just a way to easily jump around in a waveform.

Quick start

Methods added to the WaveSurfer object

  • addMarker(options) – Creates a marker on the waveform.
  • clearMarkers() – Removes all markers.

Options

Marker objects have the following options:

option type default description
id number The time to set the marker at
label string an optional marker label
color string background color for marker
position string "bottom" "top" or "bottom", defaults to "bottom"

WaveSurfer events

  • marker-click
Fork me on GitHub