Skip to content
sb-dorPublic

About

Fast audio decoding, waveforms and tags for Dart & Flutter — Rust core, every platform and the web

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Frustbite

CI License: MIT Docs

Read audio from pure Dart: info, tags, cover art, waveforms and PCM, powered by a Rust core through FFI and WebAssembly.

  • Decodes MP3, AAC-LC (M4A, ADTS), ALAC, FLAC, Vorbis, Opus and WAV
  • Waveforms (peak or RMS) with bounded memory, even for hour-long files
  • Tags and embedded cover art
  • Async: waveformAsync and decodeAsync run on a background isolate
  • Android, iOS, macOS, Linux, Windows and the web (dart2js and dart2wasm)
  • Pure Rust core with no FFmpeg and no C codecs

Read the documentation or see the package README for API usage and the roadmap.

Try it in the minimal Flutter showcase, and see how it compares with other Dart audio packages in the benchmarks.

Showcase

The Flutter showcase opens an audio file and shows its info, tags, cover and waveform (iPhone):

frustbite showcase on iPhone: stream info, tags and waveform

Benchmarks

Benchmark chart: frustbite against other Dart audio packages

Headline numbers (180 s stereo input, Apple M3 Pro, median of 10 runs):

  • Decode WAV: 24.9 ms against 225.6 ms for the pure-Dart wav package (9.05x)
  • Decode MP3: 95.4 ms against 7955.9 ms for the pure-Dart glint_audio_pure (83.39x)
  • Decode MP3: 0.87x against audio_decode (83.2 ms), which is also native code

Against native C decoders frustbite is roughly on par, and slower on MP3 decode. Methodology and every row are in the benchmark README.

Documentation

cd docs
npm install
npm run docs:dev

Blume builds the production site into docs/dist/ with cd docs && npm run docs:build.

See AGENTS.md for the repository layout and development commands.

License

See LICENSE. Third-party notices are in THIRD_PARTY_LICENSES.md; note that the bundled symphonia decoders are MPL-2.0, and that file says where to get their source.

Acknowledgements

Repository structure, build hooks and release flow adapted from hawkkiller/pixer (MIT, © 2026 Michael Lazebny).

About

Fast audio decoding, waveforms and tags for Dart & Flutter — Rust core, every platform and the web

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages