realtime_audio 0.0.5 copy "realtime_audio: ^0.0.5" to clipboard
realtime_audio: ^0.0.5 copied to clipboard

Audio package for realtime APIs like OpenAI Realtime or HumeAI Voice.

🎡 Realtime Audio #

RealtimeAudio is a Flutter package that handles audio recording and playback of data chunks from real-time sources, like OpenAI Realtime API or HumeAI Voice.

✨ Features #

  • 🎀 Audio recording with variable chunk length in milliseconds.
  • πŸ”Š Audio playback of data chunks.
  • ⏱️ Duration tracking of audio chunks.
  • πŸ”’ Necessary permission & audio session handling.
  • ⏸️ Pause support.
  • πŸŽ›οΈ Voice processing on iOS.

πŸ“– Usage #

To use this package, add realtime_audio as a dependency in your pubspec.yaml file.

After initializing the RealtimeAudio object, you can start recording and playing audio chunks by calling start().

Audio will be played back in real-time, as soon as the first chunk is queued with queueChunk().

See the example project for a complete example.

4
likes
0
points
540
downloads

Publisher

verified publishervolskaya.dev

Weekly Downloads

Audio package for realtime APIs like OpenAI Realtime or HumeAI Voice.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, freezed_annotation, json_annotation, uuid

More

Packages that depend on realtime_audio