Audio Scrubber
Audio Scrubber preview
Primitive

Audio Scrubber

@remotionui/audio-scrubber

From RemotionUI

Waveform with traveling playhead and time labels

Install

npx remotion-ui@latest add audio-scrubber

Props (12)

  • durationInFramesnumber= required

    Clip length. The playhead crosses the track over exactly this.

  • waveformnumber[]= generated

    Bar heights 0–1. Omitted, a deterministic envelope is built from `seed`.

  • barCountnumber= 96

    Bars drawn when the waveform is generated.

  • widthnumber= 720

    Overall width, time labels included.

  • heightnumber= 96

    Track height. Type scales off it.

  • playedColorstring= "#e8b86d"

    Bars already played.

  • unplayedColorstring= rgba(250,250,250,0.2)

    Bars not yet reached.

  • marks{ atInFrames, label? }[]= undefined

    Chapter rules at frame positions.

  • mirroredboolean= true

    Centre the bars the way an editor draws them.

  • showTimeboolean= true

    Elapsed and total readouts either side of the track.

  • delayInFramesnumber= 0

    Frames before the playhead starts moving.

  • framenumber= undefined

    Frame override: pass the parent frame inside a `<Sequence>`.

npm packages

Categories