feat(tts): align free voice set with available Edge voices (13 keys)

This commit is contained in:
2026-02-25 01:10:18 +08:00
parent 72ca8bb905
commit 143f9b7dd7
3 changed files with 7 additions and 13 deletions

View File

@@ -42,7 +42,7 @@ const HTML_PATH = `${extensionFolderPath}/modules/tts/tts-overlay.html`;
const TTS_DIRECTIVE_REGEX = /\[tts:([^\]]*)\]/gi;
const FREE_VOICE_KEYS = new Set([
'female_1', 'female_2', 'female_3', 'female_4', 'female_5', 'female_6', 'female_7',
'female_1', 'female_2', 'female_3', 'female_4',
'male_1', 'male_2', 'male_3', 'male_4',
'en_female_1', 'en_female_2', 'en_male_1',
'ja_female_1', 'ja_male_1',