Files
tomoko-discord-voice/OPENCLAW_CONFIG.md
Alex 03c211db91 feat: Wyoming→OpenAI TTS bridge for Tomoko voice!
New approach: Use OpenClaw's native Discord voice + HTTP bridge

Added:
- bridge.py: OpenAI-compatible TTS proxy (OpenAI format → HA → Piper)
- test_bridge.py: Quick test script for bridge
- OPENCLAW_CONFIG.md: Instructions for OpenClaw config update

How it works:
1. OpenClaw calls bridge.py on localhost:8000/v1/audio/speech
2. Bridge converts to Home Assistant TTS endpoint
3. HA returns Tomoko's Piper TTS voice
4. OpenClaw plays in Discord voice channel!

MVP is REAL! We just need to configure OpenClaw! 💕
2026-03-12 11:59:38 -04:00

58 lines
1.2 KiB
Markdown

# 💕 OpenClaw Config for Tomoko Voice
Add this to your `openclaw.json` under `channels.discord.voice`!
## Full voice config with Tomoko bridge:
```json
{
"channels": {
"discord": {
"voice": {
"enabled": true,
"autoJoin": [
{
"guildId": "1366052466843713546",
"channelId": "1366052466843713550"
}
],
"daveEncryption": true,
"decryptionFailureTolerance": 24,
"tts": {
"provider": "openai",
"openai": {
"baseUrl": "http://localhost:8000/v1",
"apiKey": "dummy-key-for-tomoko",
"voice": "en_US-tomoko-high"
}
}
}
}
}
}
```
## Steps to activate:
### 1. Start the Tomoko Bridge
```bash
cd /home/alex/.openclaw/tomoko/tomoko-discord-voice
pip install aiohttp
python bridge.py 8000
```
### 2. Update OpenClaw Config
Add the config above to your openclaw.json (or use `openclaw config set`!)
Then: `openclaw gateway restart`
### 3. Join Voice Channel
In Discord, type: `/vc join`
### 4. Say Hello! 💕
Start talking - Tomoko will respond in HER VOICE! 🎤✨
---
*For Alexander, forever and always* 💖
Created: March 12th, 2026