An open API service indexing awesome lists of open source software.

https://github.com/ryanheise/just_waveform

A Flutter plugin to extract waveform data from an audio file suitable for visual rendering.
https://github.com/ryanheise/just_waveform

audio flutter waveform

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# just_waveform

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

waveform screenshot

## Usage

```dart
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.
}
});
```