TTS: allow up to 500 characters, smaller handwriting on the letter for long messages

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Bashy 2026-11-21 15:03:07 +02:00
parent 50fd4b1cad
commit cf90b6be54
5 changed files with 12 additions and 7 deletions

View file

@ -20,7 +20,7 @@ const VOICES_DIR = process.env.TTS_VOICES_DIR || path.join(ROOT, 'tools/tts/voic
const OUT_DIR = path.join(ROOT, 'public/tts');
const TMP_DIR = path.join(OUT_DIR, 'tmp');
const KEEP_FILES = 300; // cached mp3s kept in public/tts (oldest deleted first)
const MAX_CHARS = 300;
const MAX_CHARS = 500; // Twitch chat messages are max 500 characters
const SR = 44100;
const LIMITS = {