Quick Voice Chat
Single voice exchange without starting a full voice chat session. Good for quick questions.
Prerequisites
The WhisperLiveKit server must be running. If not, start it first:
code
bash "<CLAUDE_TALK_DIR>/scripts/start-whisper-server.sh" &
Steps
- •
Load config: read
~/.claude-talk/config.envforCLAUDE_TALK_DIR, then source<CLAUDE_TALK_DIR>/config/defaults.env. - •
Capture one utterance (use Bash with timeout 60000):
codebash "<CLAUDE_TALK_DIR>/scripts/capture-and-print.sh"
- •
Read the stdout output. If empty or "(silence)", tell the user no speech was detected.
- •
Otherwise, respond conversationally to what the user said. Keep the response natural and concise.
- •
Speak the response via TTS (use Bash):
codesay -v "$VOICE" "<your response>"
Use the VOICE from config (default: Daniel).
- •
Show the exchange to the user:
- •"You said: <transcription>"
- •"Response: <your response>"