Source Code:
src/gaia/audio/Import:
from gaia.audio.audio_client import AudioClientDetailed Spec: spec/audio-client Purpose: Voice interaction with ASR (Whisper) and TTS (Kokoro).
Audio Client
AudioClient glues Whisper ASR and Kokoro TTS together into a full voice-chat
loop. It is used by the Talk SDK and the gaia talk CLI. Because the voice
loop runs microphone I/O alongside LLM calls, start_voice_chat is async:
To list available input devices, use
WhisperAsr.list_audio_devices() directly (see ASR section below). AudioClient itself does not expose a device-enumeration method.Whisper ASR (Speech-to-Text)
Import:from gaia.audio.whisper_asr import WhisperAsr
Kokoro TTS (Text-to-Speech)
Import:from gaia.audio.kokoro_tts import KokoroTTS
Related Topics
- Talk SDK - Higher-level voice interaction
- Agent System - Voice-enabled agents
- Complete Examples - Voice assistant examples