feat(audio): add downloadable extra Piper voices with accents

Adds Alma (sv), Alan, Northern English, Cori, Alba (British/Scottish)
and Joe, John, Norman (American) as optional voices downloaded one at
a time from Settings, with gender (measured pitch) and accent shown in
the voice lists. The standard install is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
larssandandClaude Opus 5.5 committed 2026-09-30 21:58:08 +02:00
1 parent aaca5e8c63
commit ebd0f74f40
15 files changed
+186 -25

No files matched your search

+16
View File
@@ -1260,6 +1260,14 @@ const TRANSLATIONS = {
"tts.voice_auto": "Automatisk",
"tts.gender_male": "man",
"tts.gender_female": "kvinna",
"tts.accent_us": "amerikansk",
"tts.accent_gb": "brittisk",
"tts.accent_gb_north": "nordengelsk",
"tts.accent_scottish": "skotsk",
"tts.more_voices": "Fler röster",
"tts.more_voices_hint": "Hämtas en i taget (ca 63 MB var, internet behövs bara under nedladdningen). Välj sedan rösten ovan och testa.",
"tts.download": "Hämta",
"tts.downloading": "Hämtar...",
"tts.test_failed": "Kunde inte spela upp den lokala rösten - kontrollera installationen.",
"auth.title": "Admin-PIN",
"auth.hint": "Skyddar alla ändringar (race, resultat, inställningar, uppdatering) med en PIN. Läsning och publika overlay-/träningslänkar påverkas inte. Inloggningen sparas i webbläsaren i 30 dagar.",
@@ -2902,6 +2910,14 @@ const TRANSLATIONS = {
"tts.voice_auto": "Automatic",
"tts.gender_male": "male",
"tts.gender_female": "female",
"tts.accent_us": "American",
"tts.accent_gb": "British",
"tts.accent_gb_north": "Northern English",
"tts.accent_scottish": "Scottish",
"tts.more_voices": "More voices",
"tts.more_voices_hint": "Downloaded one at a time (about 63 MB each, internet only needed while downloading). Then pick the voice above and test it.",
"tts.download": "Download",
"tts.downloading": "Downloading...",
"tts.test_failed": "Could not play the local voice - check the installation.",
"auth.title": "Admin PIN",
"auth.hint": "Protects every change (races, results, settings, updates) with a PIN. Reading and public overlay/training links are unaffected. The login is remembered in this browser for 30 days.",