sound_dart 0.0.1 copy "sound_dart: ^0.0.1" to clipboard
sound_dart: ^0.0.1 copied to clipboard

Sound for Dart and Flutter with the goal of no additional system dependencies. Dart (no Flutter dependency) with native audio from Rust via FFI.

Changelog #

0.0.1 #

  • Initial scaffolding.
  • Core API: Sound, SoundSource, Playback, pluggable SoundBackends.
  • FFI backend that plays WAV via the sound_cli Rust library; Linux playback over ALSA (PipeWire). Web-safe via conditional imports.
  • WebAudio backend for the browser (selected automatically on web).
  • Native decoding of WAV/MP3/OGG-Vorbis/FLAC via the pure-Rust symphonia (no system dependencies); the browser decodes natively on web.
  • Per-voice volume (setVolume, volume:) and looping (setLooping, loop:).
  • Pause/resume, seek, and position/duration query.
  • Sound.playUrl/loadUrl to fetch and play audio over HTTP (all platforms).
  • SoundFade extension: fade, fadeIn, fadeOut volume ramps.
  • CLI example and a web example.
0
likes
150
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Sound for Dart and Flutter with the goal of no additional system dependencies. Dart (no Flutter dependency) with native audio from Rust via FFI.

Repository (GitHub)
View/report issues

Topics

#audio #sound #playback #ffi

License

MIT (license)

Dependencies

ffi, http, web

More

Packages that depend on sound_dart