voice-server/.env.example
Cal Corum a34aec06f1 Initial commit: Voice server with Piper TTS
A local HTTP service that accepts text via POST and speaks it through
system speakers using Piper TTS neural voice synthesis.

Features:
- POST /notify - Queue text for TTS playback
- GET /health - Health check with TTS/audio/queue status
- GET /voices - List installed voice models
- Async queue processing (no overlapping audio)
- Non-blocking audio via sounddevice
- 73 tests covering API contract

Tech stack:
- FastAPI + Uvicorn
- Piper TTS (neural voices, offline)
- sounddevice (PortAudio)
- Pydantic for validation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 00:18:12 -06:00

23 lines
374 B
Plaintext

# Voice Server Configuration
# Copy this file to .env and modify as needed
# Server Settings
HOST=0.0.0.0
PORT=8888
# TTS Settings
MODEL_DIR=./models
DEFAULT_VOICE=en_US-lessac-medium
DEFAULT_RATE=170
# Queue Settings
QUEUE_MAX_SIZE=50
REQUEST_TIMEOUT_SECONDS=60
# Logging
LOG_LEVEL=INFO
LOG_FILE=voice-server.log
# Debug (disable TTS for testing)
# VOICE_ENABLED=true