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>
22 lines
851 B
Bash
Executable File
22 lines
851 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Threat Assessment — Ivanova, Archangel, Rommie, Chuin, Santini
|
|
|
|
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 ivanova
|
|
say "We have an unidentified vessel on an intercept course. Threat assessment?"
|
|
|
|
switch rommie
|
|
say "Weapons hot, shields raised, and they're broadcasting on a frequency we're not supposed to know exists."
|
|
|
|
switch archangel
|
|
say "Ah. That would be my people. Stand down, Commander — they're just making sure I'm still alive."
|
|
|
|
switch chuin
|
|
say "Are you? I have been wondering this myself for some time."
|
|
|
|
switch santini
|
|
say "I'm gonna need a bigger hangar."
|