Add text-to-speech via Piper with --audio flag and replay verb

Enable TTS with `h2g2 --audio` to hear game text spoken aloud using
the Piper en_GB-alan-medium voice. Audio plays in a background thread
while text displays normally. The new `replay` in-game verb replays
the last spoken audio. Voice model path is configurable via --voice.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-04 17:18:17 +02:00
parent 2e97bb1a29
commit 049d4f2a18
10 changed files with 791 additions and 13 deletions
Binary file not shown.