mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-07 10:05:50 +08:00
feat(tts): dedicated ATIS broadcast voice on Speaches
The ATIS tag now resolves to en_GB-alba-medium — outside both voice pools — instead of sharing 'verse' with the user's own readback voice. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -212,7 +212,7 @@ export default defineEventHandler(async (event) => {
|
||||
voice,
|
||||
};
|
||||
const speachesVoice = provider === "speaches"
|
||||
? resolveSpeachesVoice(voice, speachesFallback)
|
||||
? resolveSpeachesVoice(voice, speachesFallback, body?.tag)
|
||||
: null;
|
||||
const ttsVoice = speachesVoice?.voice ?? voice;
|
||||
const providerModel = speachesVoice
|
||||
|
||||
Reference in New Issue
Block a user