diff --git a/lib/utils/speech-data/tts-verbio.js b/lib/utils/speech-data/tts-verbio.js index 2286bc00..c7bfb2c5 100644 --- a/lib/utils/speech-data/tts-verbio.js +++ b/lib/utils/speech-data/tts-verbio.js @@ -1,14 +1,4 @@ module.exports = [ - { - value: 'en-US', - name: 'US English', - voices: [ - { - value: 'tommy_en_us', - name: 'Tommy-Male', - }, - ], - }, { value: 'es-ES', name: 'Castilian Spanish', diff --git a/lib/utils/speech-utils.js b/lib/utils/speech-utils.js index 769aa40b..24a48e24 100644 --- a/lib/utils/speech-utils.js +++ b/lib/utils/speech-utils.js @@ -1132,7 +1132,7 @@ function parseMicrosoftLanguagesVoices(data) { } function parseVerbioLanguagesVoices(data) { - return data.reduce((acc, voice) => { + return data.voices.reduce((acc, voice) => { const languageCode = voice.language; const existingLanguage = acc.find((lang) => lang.value === languageCode); if (existingLanguage) {