Peaks.js is a JavaScript library that allows you to display and interact with audio waveforms in the browser.
The following pages demonstrate various configuration options:
Precomputed Waveform Data | Web Audio API | Single Zoomable Waveform | Single Fixed Waveform | Cue Events | Changing the Media URL | Multi-Channel Waveform | Custom Point and Segment Markers | Overlay Segments | External Audio Player | Scrollbar
This demo shows how to listen for events from the playhead reaching points, or segment edges.
Events in this demo are logged in the browser console.
| ID | Label | Start time | End time |
|---|
| ID | Label | Time |
|---|