Skip to content

Notes

  • No DOM, no events, no CSS. WaveformGen produces JSON only. Async results come back exclusively via the generatePeaks() Promise.
  • Multi-channel audio is mono-summed: each peak is the max amplitude across all channels for that bin.
  • inline ignores bpm and markers — it emits only the raw peaks array.
  • Logs are prefixed [WaveformGen]. --quiet silences progress and the summary, but never errors.