Skip to content

A Flutter plugin to extract waveform data from an audio file suitable for visual rendering.

License

Notifications You must be signed in to change notification settings

ryanheise/just_waveform

Repository files navigation

just_waveform

This plugin extracts waveform data from an audio file that can be used to render waveform visualisations.

waveform screenshot

Usage

final progressStream = JustWaveform.extract(
  audioInFile: '/path/to/audio.mp3',
  waveOutFile: '/path/to/waveform.wave',
  zoom: const WaveformZoom.pixelsPerSecond(100),
);
progressStream.listen((waveformProgress) {
  print('Progress: %${(100 * waveformProgress.progress).toInt()}');
  if (waveformProgress.waveform != null) {
    // Use the waveform.
  }
});

About

A Flutter plugin to extract waveform data from an audio file suitable for visual rendering.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •