Files
claude-voice-experiment/demos/darkwing-briefing.sh
mikael-lovqvists-claude-agent db8889aeed Initial commit — voice pipeline experiment
STT (Silero VAD + Whisper via sherpa-onnx), Chatterbox TTS HTTP server,
query completeness classifier (Ollama), multi-voice demo scripts, and
planning docs. Kept as reference; clean rewrite planned in separate repos.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 04:48:54 +00:00

25 lines
970 B
Bash
Executable File

#!/usr/bin/env bash
# Darkwing Briefing — Darkwing Duck, Gosalyn, Harold W. Smith, Marella, Rommie
TTS="${TTS_URL:-http://192.168.2.99:11500}"
switch() { curl -s -X POST "$TTS/voice" -H 'Content-Type: application/json' -d "{\"name\": \"$1\"}" > /dev/null; }
say() { curl -s -X POST "$TTS/speak" -H 'Content-Type: application/json' -d "$(jq -n --arg t "$1" '{text:$t}')" > /dev/null; }
switch darkwing-duck
say "I am the terror that flaps in the night. I am the highly classified operative that your clearance level does not cover."
switch gosalyn
say "Dad, you're at the WRONG briefing AGAIN."
switch harold-w-smith
say "How did a duck get into this facility."
switch marella
say "The same way everything else does, sir. The paperwork looked official."
switch rommie
say "I ran a verification check. The duck is, in fact, cleared for this. I have no further explanation."
switch darkwing-duck
say "I love it when a plan comes together. Let's get dangerous."