sm-waveform

Generate waveform data with ffmpeg

Usage no npm install needed!

<script type="module">
  import smWaveform from 'https://cdn.skypack.dev/sm-waveform';
</script>

README

sm-waveform

Pure Javascript library to generate waveform data with ffmpeg. Uses ffmpeg to decode incoming audio to PCM, and then downsamples to generate waveform data.