Audio Trimmer
A waveform trimmer with draggable in/out handles, a movable selection, fade-in/out knobs that reshape the waveform, a playhead, loop and time readouts.
Preview
Studio walkthrough · intro.m4a
0:16.00
- In
- 0:02.40
- Out
- 0:12.80
- Length
- 10.40s
- Fades
- 1.2 / 2.0
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| duration | number | — | Clip length in seconds. |
| peaks | number[] | — | Waveform peaks 0–1; defaults to a deterministic waveform from seed. |
| seed | string | "clip" | Seed for the generated waveform. |
| label | string | "Audio clip" | Clip name shown above the waveform. |
| defaultRange | Partial<{ start, end, fadeIn, fadeOut }> | 15%–80%, no fades | Starting selection and fade lengths in seconds. |
| defaultLoop | boolean | false | Loop the selection when playing. |
| defaultPlayhead | number | — | Playhead position to show first (seconds). |
| minLength | number | 0.5 | Shortest allowed selection in seconds. |
| onRangeChange | (range: TrimRange) => void | — | Called as handles, fades or the region move. |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
