Home Manual Reference Source Test

References

References

Class Summary

Static Public Class Summary
public

Displays a thin line at the position of the cursor on the waveform.

public

Parent class for renderers

public

Downloads and renders ELAN audio transcription documents alongside the waveform.

public

The HTML initialisation API is not part of the main library bundle file and must be additionally included.

public

MediaElement backend

public

Visualise microphone input in a wavesurfer instance.

public

Renders a smaller version waveform as a minimap of the main waveform.

public

MultiCanvas renderer for wavesurfer.

public

Observer class

public

Caches the decoded peaks data to improve rendering speed for lage audio

public

This is the interface which is implemented by all plugin classes.

public

Regions are visual overlays on waveform that can be used to play and loop portions of audio.

public

Render a spectrogram visualisation of the audio.

public

Adds a timeline to the waveform.

public

WaveSurfer core library class

public

WebAudio backend

Function Summary

Static Public Function Summary
public

ajax(options: Options): Object

Perform an ajax request

public

extend(dest: Object, sources: Object[]): Object

Extend an object shallowly with others

public

frame(func: function): func

Create a function which will be called at the next requestAnimationFrame cycle

public

Get a random prefixed ID

public

max(values: Array): Number

Get the largest value

public

min(values: Array): Number

Get the smallest value

public

Apply a map of styles to an element

Typedef Summary

Static Public Typedef Summary
public
public
public
public
public
public

Extends the WavesurferParams wavesurfer was initialised with

public

The Object used to describe a plugin

public

The parameters used to describe a region.

public
public
public

Extends the WavesurferParams wavesurfer was initialised with

public

External Summary

Static Public External Summary
public
public
public
public
public
public
public

wavesurfer.js changelog

wavesurfer.js changelog

1.2.4 (11.11.2016)

  • Fix a problem of Web Audio not playing in Safari on initial load (#749)

1.2.3 (09.11.2016)

  • Add a 'waveform-ready' event, triggered when waveform is drawn with MediaElement backend (#736)
  • Add a 'preload' parameter to load function to choose the preload HTML5 audio attribute value if MediaElement backend is choosen (#854)

1.2.2 (31.10.2016)

  • Determistic way to mute and unmute a track (#841)
  • Replace jasmine with karma / jasmine test suite (#849)
  • Regions plugin: fix a bug when clicking on scroll-bar in Firefox (#851)

1.2.1 (01.10.2016)

  • Added changelog (#824)
  • Correct AMD module name for plugins (#831)
  • Fix to remove small gaps between regions (#834)