Skip to content

v0.1.0

Choose a tag to compare

@sjoenk sjoenk released this 09 Feb 09:46
· 127 commits to main since this release

A lightweight Flutter plugin for audio file processing using native platform APIs — no FFmpeg required.

Features

  • Audio Conversion — Convert between formats using platform-native decoders
    • convertToWav() — Lossless PCM 16-bit WAV output
    • convertToM4a() — Compressed AAC/M4A at 128 kbps
  • Audio Trimming — Extract a time range from any supported audio file
  • Audio Analysis — Extract metadata (duration, sample rate, channels, bit rate, format)
  • Waveform Extraction — Get normalized amplitude data (0.0–1.0) for visualization

Supported Platforms

Platform Min Version Native API
Android API 24 MediaExtractor + MediaCodec
iOS 13.0 AVFoundation
macOS 10.13 AVFoundation
Windows 7+ Media Foundation

Supported Input Formats

.mp3, .m4a, .aac, .mp4, .ogg, .oga, .opus, .flac, .wma, .aiff, .aif, .amr, .caf, .alac, .webm

Why This Plugin?

  • ~500 KB vs 15–30 MB for FFmpeg-based alternatives
  • Zero external dependencies — uses built-in OS audio APIs
  • Background thread processing on all platforms

Full Changelog: https://github.com/sjoenk/audio_decoder/commits/v0.1.0