Commit Graph

3 Commits

Author SHA1 Message Date
kingston a2516f9b03 ttstoy: accessibility command group with per-speaker voices
Consolidate accessibility into one command group:
  ttstoy accessibility start
  ttstoy accessibility stop
  ttstoy accessibility engine <dectalk|piper>
  ttstoy accessibility voice [name|auto]

Per-speaker distinct voices so concurrent users in accessibility auto-read
can be told apart:
- Auto-assigned round-robin from the active engine's voice pool (9 DECTalk
  named voices, 19 Piper models), guaranteeing distinct voices until the
  pool is exhausted (then wraps).
- Users set their own voice with 'accessibility voice <name>', 'auto' to
  return to auto-assignment.
- Assignments are in-memory only and are NOT saved between sessions; they
  reset on start/stop, engine change, and when the bot changes voice channel.
- dectalk voice travels as voice_id, piper voice as the model id.
2026-10-18 22:51:01 -05:00
kingston dced723fa0 ttstoy: add Piper TTS provider and accessibility engine selector
- New 'piper' TTS mode backed by a Piper HTTP server (/synthesize),
  wired through the single-mode and multi-voice render paths with the
  same SFX-segment handling as other providers.
- _save_piper_tts renders via POST /synthesize {text, voice}, optional
  model_id voice and dB volume offset.
- Config: piper_api_url (default http://127.0.0.1:5006), piper_voice,
  accessibility_engine (dectalk or piper).
- Commands: ttstoy piperurl, ttstoy pipervoice, ttstoy accessibilityengine.
- Accessibility mode (both the forced-engine command path and the VC
  auto-read listener) now uses the configured engine, dectalk or piper.
- mode command validation/listing/confirmation include piper.
- README documents the piper mode and accessibility engine.
2026-10-18 22:41:26 -05:00
kingston 19654952d6 Add ttstoy cog 2026-06-05 16:41:55 -05:00