Peaks.js is a JavaScript component that allows users to view and interact with audio waveforms in the browser. It provides a zoomable and scrollable waveform view, synchronised to playback of an associated <audio> or <video> element.
Peaks.js also allows users to annotate the waveform using point or segment markers, e.g., for distinguishing music from speech or identifying different music tracks.
Peaks.js uses , a JavaScript library that provides access to precomputed waveform data files generated by , or generates waveform data using the Web Audio API.