Examples
Audio waveform examples
Explore playback, recording, plugins, and React integration. Each example includes a live demo and editable JavaScript.
Find your example
31 examples
Waveform options
Explore the configuration options together and see how they change the player.
Open example CustomizationBar waveforms
Build a bar-style audio player by changing bar width, spacing, and corner radius.
Open example BasicsYour first waveform
Create an interactive audio waveform with just a container, an audio URL, and a few options.
Open example CustomizationCustom waveform rendering
Draw a waveform with a custom canvas rendering function.
Open example PluginsVolume envelope
Control volume over time by editing points on an audio envelope.
Open example BasicsPlayback events
Observe the events emitted while audio loads, plays, pauses, and seeks.
Open example ExperimentsFM synthesizer
Explore sound synthesis and waveform visualization with Web Audio.
Open example CustomizationGradient waveforms
Apply Canvas gradients to waveform and progress colors.
Open example PluginsHover time labels
Show the time under the pointer so users can preview a seek position before clicking.
Open example PluginsWaveform minimap
Keep an overview of the whole recording while working with a zoomed waveform.
Open example ExperimentsMulti-track audio
Explore several audio tracks arranged on a shared timeline.
Open example ExperimentsPitch contour
Explore a pitch contour visualization alongside an audio waveform.
Open example AdvancedPre-decoded waveform peaks
Draw a waveform from supplied peaks and duration instead of decoding the whole recording to render it.
Open example FrameworksShared React audio player
Share one player across a React interface instead of creating independent playback instances.
Open example FrameworksReact waveform component
Create a waveform in React and connect playback state to component controls.
Open example PluginsSynchronized recording
Explore recording and waveform updates together in a synchronized interface.
Open example PluginsMicrophone recording
Record audio from a microphone and display its waveform using the Record plugin.
Open example PluginsAudio regions and markers
Select, resize, and play segments of a recording using the Regions plugin.
Open example ExperimentsDetect silent passages
Explore silent sections of a recording using decoded audio and waveform regions.
Open example CustomizationSoundCloud-style player
Combine waveform styling and playback controls in a SoundCloud-inspired audio player.
Open example PluginsAudio spectrogram
Visualize the frequencies in a recording alongside the waveform.
Open example BasicsPlayback speed
Change the playback rate of an audio recording with a waveform as a visual reference.
Open example BasicsSplit audio channels
Render each audio channel as its own waveform for a stereo recording.
Open example CustomizationStyle with CSS
Customize exposed waveform parts using CSS while keeping the player logic separate.
Open example PluginsCustom timeline labels
Customize the appearance and intervals of waveform timeline labels.
Open example PluginsWaveform timeline
Add time labels below a waveform so readers can orient themselves in a recording.
Open example BasicsVideo and waveform
Attach a waveform to a video element and keep seeking and playback synchronized.
Open example ExperimentsVowel visualization
Explore a speech-analysis visualization using audio frequency information.
Open example AdvancedWeb Audio backend
Play audio with the Web Audio backend and explore its playback controls.
Open example PluginsMouse-wheel zoom
Zoom into a waveform with the mouse wheel using the Zoom plugin.
Open example BasicsWaveform zoom
Control waveform detail with a zoom slider and pixels per second.
Open example