Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.2 KB

File metadata and controls

39 lines (23 loc) · 1.2 KB

Waveform Gen

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 version license

Documentation · npm


Install

npm install @arraypress/waveform-gen

Then generate a .json per audio file:

npx @arraypress/waveform-gen ./audio/*.mp3 --output ./public/waveforms/ --bpm

Documentation

Full CLI options, library API and the JSON output format live in the docs.

Overview · Library · Output format

License

MIT © ArrayPress