Pre-generate waveform peak data from audio files. CLI and library that pre-computes waveform JSON for WaveformPlayer and WaveformBar — instant visualization, no client-side audio decoding.
npm install @arraypress/waveform-genThen generate a .json per audio file:
npx @arraypress/waveform-gen ./audio/*.mp3 --output ./public/waveforms/ --bpmFull CLI options, library API and the JSON output format live in the docs.
Overview · Library · Output format
MIT © ArrayPress