audio_stream_player 1.0.3 copy "audio_stream_player: ^1.0.3" to clipboard
audio_stream_player: ^1.0.3 copied to clipboard

Low-latency PCM audio streaming player. Feed raw audio chunks from TTS or realtime voice APIs and hear them as they arrive, with buffer introspection and underrun events.

Changelog #

1.0.3 #

  • Re-recorded the demo GIF with the animated wave buffer gauge, so the pub.dev screenshot matches the current example app.
  • No functional changes.

1.0.2 #

  • Added a demo GIF of the example app to the README and package screenshots.
  • No functional changes.

1.0.1 #

  • Shortened the package description to meet pub.dev's 180-character limit.
  • No functional changes.

1.0.0 #

Complete rewrite. audio_stream_player is now a low-latency raw PCM streaming player for feeding audio chunks from TTS and realtime voice APIs.

  • Feed Uint8List PCM chunks (s16le or f32le, mono or stereo, any sample rate) and hear them as they arrive.
  • endOfStream() future that completes when the last sample has played.
  • Underrun events, buffered-duration introspection, pause/resume/stop, per-player volume, multiple concurrent players.
  • Platforms: Android (AudioTrack), iOS and macOS (AVAudioEngine, shared Darwin source, CocoaPods + Swift Package Manager).

The 0.0.1 URL-playback API from 2018 has been removed entirely.

2
likes
160
points
197
downloads
screenshot

Documentation

API reference

Publisher

verified publisheradrianczuczka.com

Weekly Downloads

Low-latency PCM audio streaming player. Feed raw audio chunks from TTS or realtime voice APIs and hear them as they arrive, with buffer introspection and underrun events.

Repository (GitHub)
View/report issues

Topics

#audio #pcm #streaming #tts #voice

License

MIT (license)

Dependencies

flutter

More

Packages that depend on audio_stream_player

Packages that implement audio_stream_player