plan-waveform

plan plugin for generating waveforms from audio files

Usage no npm install needed!

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

README

See node-plan

input

  • tempPath - an audio file to generate a waveform for
  • makeTemp - a function which generates a tempfile and accepts a suffix

output

  • tempPath - a .png file which is a waveform of the audio

options

  • width
  • height
  • colorBg - formatted like 'ffaabb00'
  • colorCenter
  • colorOuter

exports

none