v0.0.7just_waveform
Extracts waveform data from an audio file suitable for visually rendering the waveform.
276Likes 24.2K30-day downloads160Pub points
AndroidiOSmacOS
A Flutter plugin to extract waveform data from an audio file suitable for visual rendering.
{"sdk":"flutter"}^1.8.0^2.0.0{"sdk":"flutter"}^2.0.1English project snapshot. Visit GitHub for the latest content.
This plugin extracts waveform data from an audio file that can be used to render waveform visualisations.
waveform screenshotfinal 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.
}
});