interface DumpWaveform

Returned by GET /api/dumps/:dumpId/waveform for an audio file dump, to the player's waveform.

Properties

peaks: number[]

WAVEFORM_PEAKS heights from 0 to 1, as peaksOf gives.

Usage

import { type DumpWaveform } from "shared/waveform.ts";