- src/tts-blocklist.txt: slurs, self-harm/threat phrases, sexual violence,
hate slogans (no normal swearing); merged into Settings once
(tts_blocklist_seeded), editable there afterwards
- Matching is now whole words/phrases with plurals, look-alike swaps and
spaced-out letters, so raccoon / spicy / therapist / grape are fine
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- TTS alerts use the new `tts` style: envelope opens, the letter rises out
and settles in front near the top, words ink in as the voice says them
(timed from a loudness curve the server sends: tts.loudness, tts_env,
tts_prefix); if the voice fails, the full text shows
- Highlight my message keeps its taped note
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Redeem variations can have a TTS voice: the viewer's text is cleaned
(links out, repeats collapsed, max length, blocked words -> not read),
spoken as "<name> says: ..." and shown as the big paper note; the
variation's sound is not played when TTS is on (picker greyed out)
- Settings: TTS max length, say-the-name, blocked words (never sent to
overlay pages: db.getOverlaySettings)
- Dashboard "Skip current alert" -> /alerts/skip -> overlay skips it
- db.migrate()/addColumn: new columns on existing databases
- Chat: ?chat=left,top,width,height and ?chatflow=up per browser source
(e.g. the Intermission panel); default unchanged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- src/tts.js: synth(config, text) -> cached mp3 in public/tts; up to 3 layers
(engine, voice, speaker, speed, pitch, volume, delay) mixed with ffmpeg,
8 effects (stadium, echo, 8-bit, radio, robot, choir, warp, shaky), loudnorm;
config is clamped and voice/speaker names are restricted to plain names
- tools/tts/worker.py: long-running Python worker (JSON lines), Piper models
kept loaded (LRU of 4), espeak-ng via libespeak-ng + ctypes
- tools/tts/setup.sh: venv + piper-tts + default voice set
- /tts page: presets, layers, effects, test playback, save/load/delete named
voices (tts_voices table); TTS link in the nav
- public/tts, tools/tts/venv and tools/tts/voices are gitignored
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>