Expand description
§brainwires-audio
Audio capture, playback, speech-to-text, and text-to-speech for the Brainwires Agent Framework.
Re-exports§
pub use buffer::AudioRingBuffer;pub use capture::AudioCapture;pub use device::AudioDevice;pub use device::DeviceDirection;pub use error::AudioError;pub use error::AudioResult;pub use playback::AudioPlayback;pub use stt::SpeechToText;pub use tts::TextToSpeech;pub use types::AudioBuffer;pub use types::AudioConfig;pub use types::OutputFormat;pub use types::SampleFormat;pub use types::SttOptions;pub use types::Transcript;pub use types::TranscriptSegment;pub use types::TtsOptions;pub use types::Voice;pub use wav::decode_wav;pub use wav::encode_wav;pub use api::AzureStt;pub use api::AzureTts;pub use api::CartesiaTts;pub use api::DeepgramStt;pub use api::DeepgramTts;pub use api::ElevenLabsStt;pub use api::ElevenLabsTts;pub use api::FishStt;pub use api::FishTts;pub use api::GoogleTts;pub use api::MurfTts;pub use api::OpenAiResponsesStt;pub use api::OpenAiResponsesTts;pub use api::OpenAiStt;pub use api::OpenAiTts;pub use flac::decode_flac;pub use flac::encode_flac;pub use hardware::CpalCapture;pub use hardware::CpalPlayback;
Modules§
- api
- Cloud API integrations (OpenAI STT/TTS).
- buffer
- Ring buffer for streaming audio data.
- capture
- Audio capture trait and implementations.
- device
- Audio device enumeration and selection.
- error
- Error types for audio operations.
- flac
- FLAC encoding utilities.
- hardware
- Native hardware audio backends using cpal.
- playback
- Audio playback trait and implementations.
- stt
- Speech-to-text trait and implementations.
- tts
- Text-to-speech trait and implementations.
- types
- Core audio types, configs, and data structures.
- wav
- WAV encoding and decoding utilities.