just_waveform
0.0.7, released 2 years ago by ryanheise.com
Extracts waveform data from audio files for visual rendering.
What it does
Extracts waveform data from an audio file and provides it through a progress stream suitable for visually rendering waveform visualisations. It supports extracting multiple files simultaneously and running on Android, iOS, and macOS.
AI-written summary of version 0.0.7, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to visually render audio waveforms in your Flutter application.
- You want to process audio file data into a custom .wave format for visualization.
Skip it when
- You only need to play or record audio without extracting visual waveform data.
Strengths
- Supports extracting multiple files simultaneously.
- Provides a progress stream during extraction.
- Cross-platform support for Android, iOS, and macOS.
Weaknesses
- Limited platform support strictly to Android, iOS, and macOS.
- Minimal documentation provided outside of basic usage.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Requires setting min Flutter version to 3.27.0 or higher.
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.
}
});Alternatives
Packages that do the same job and could replace just_waveform.
- audio_waveforms
Generates and visualizes audio waveforms while recording or playing audio files in Flutter.
78Compare - audioplayers
A Flutter plugin to play multiple audio files simultaneously
87Compare - record
Record audio from the microphone to a file or stream with multiple codec options.
94Compare - ffmpeg_kit_flutter_new_audio
Run FFmpeg and FFprobe commands from Dart with prebuilt audio codecs for multiple platforms.
79Compare
Works with
Packages commonly used together with just_waveform: ones it builds on, ones built on it, and its own family.
- path_providerjust_waveform depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- just_audioSame familyFeature‑rich audio player for Flutter supporting gapless playlists and multiple sources
- just_audio_webSame familyWeb platform implementation of just_audio for audio playback.
- just_audio_platform_interfaceSame familyA platform interface for the just_audio plugin, defining the contract for platform-specific implementations.
- just_audio_backgroundSame familyAdds background playback and media controls to a just_audio player