From b967736f0463e4b3bf2fe6ce040d8b74fab77949 Mon Sep 17 00:00:00 2001 From: DinoDragon09 <120061397+DinoDragon09@users.noreply.github.com> Date: Wed, 22 Jul 2026 13:27:19 +0100 Subject: [PATCH] Added Spanish MacOS/iOS voices to common voices listed and updated English voices ensuring that the highest quality voices are first. --- api/sound.js | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/api/sound.js b/api/sound.js index 0e7c84e1..45873da5 100644 --- a/api/sound.js +++ b/api/sound.js @@ -958,6 +958,7 @@ export const flockSound = { "zira", "james", // macOS/iOS + "nathan", "alex", "daniel", "fred", @@ -977,6 +978,7 @@ export const flockSound = { "susan", "allison", "ava", + "zoe", "karen", "moira", "tessa", @@ -995,7 +997,7 @@ export const flockSound = { // macOS/iOS "daniel", "oliver", - "serena", + "jamie", // Android/Chrome "male", "man", @@ -1013,6 +1015,34 @@ export const flockSound = { "woman", ], }, + "es-ES": { + male: [ + // macOS/iOS + "jorge", + "juan", + "diego", + "carlos", + "eddy", + "grandpa", + "reed", + "rocko", + ], + female: [ + // macOS/iOS + "marisol", + "paulina", + "isabela", + "francisca", + "jimena", + "soledad", + "angelica", + "monica", + "flo", + "grandma", + "sandy", + "shelly", + ], + } }; // Filter voices by requested language @@ -1068,6 +1098,19 @@ export const flockSound = { "victoria", "stephanie", "serena", + "marisol", + "paulina", + "isabela", + "francisca", + "jimena", + "soledad", + "angelica", + "monica", + "flo", + "grandma", + "sandy", + "shelly", + "zoe", ]; selectedVoice = languageVoices.find( (v) => @@ -1096,6 +1139,15 @@ export const flockSound = { "jorge", "james", "oliver", + "eddy", + "nathan", + "jamie", + "juan", + "diego", + "carlos", + "grandpa", + "reed", + "rocko", ]; selectedVoice = languageVoices.find( (v) => @@ -1103,6 +1155,7 @@ export const flockSound = { v.name.toLowerCase().includes(term.toLowerCase()), ), ); + console.log(selectedVoice); } // 5. Fallback to first voice in the language