From 3ad54a0e72480c7c7c0354390bf4e9e58f6a2d3e Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Wed, 13 Mar 2024 09:16:12 -0400 Subject: [PATCH] update to released deepgram tts voices (#299) --- lib/utils/speech-data/tts-model-deepgram.js | 19 ++++++++++++------- lib/utils/speech-utils.js | 4 +--- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/lib/utils/speech-data/tts-model-deepgram.js b/lib/utils/speech-data/tts-model-deepgram.js index 90ec373e..b0905d3c 100644 --- a/lib/utils/speech-data/tts-model-deepgram.js +++ b/lib/utils/speech-data/tts-model-deepgram.js @@ -1,9 +1,14 @@ module.exports = [ - { name: 'Aurora English (US) Female', value: 'alpha-aurora-en-v2' }, - { name: 'Asteria English (US) Female', value: 'alpha-asteria-en-v2' }, - { name: 'Artemis English (UK) Female', value: 'alpha-artemis-en-v3' }, - { name: 'Andromeda English (US) Female', value: 'alpha-andromeda-en-v3' }, - { name: 'Stella English (UK) Female', value: 'alpha-stella-en-v2' }, - { name: 'Orion English (US) Male', value: 'alpha-orion-en-v2' }, - { name: 'Atlas English (US) Male', value: 'alpha-atlas-en-v3' }, + { name: 'Asteria English (US) Female', value: 'aura-asteria-en' }, + { name: 'Luna English (US) Female', value: 'aura-luna-en' }, + { name: 'Stella English (US) Female', value: 'aura-stella-en' }, + { name: 'Stella English (UK) Female', value: 'aura-athena-en' }, + { name: 'Hera English (US) Female', value: 'aura-hera-en' }, + { name: 'Orion English (US) Male', value: 'aura-orion-en' }, + { name: 'Arcas English (US) Male', value: 'aura-arcas-en' }, + { name: 'Perseus English (US) Male', value: 'aura-perseus-en' }, + { name: 'Angus English (Ireland) Male', value: 'aura-angus-en' }, + { name: 'Orpheus English (US) Male', value: 'aura-orpheus-en' }, + { name: 'Helios English (UK) Male', value: 'aura-helios-en' }, + { name: 'Zeus English (US) Male', value: 'aura-zeus-en' }, ]; diff --git a/lib/utils/speech-utils.js b/lib/utils/speech-utils.js index 0ed9f65b..961f0d40 100644 --- a/lib/utils/speech-utils.js +++ b/lib/utils/speech-utils.js @@ -263,9 +263,7 @@ const testDeepgramTTS = async(logger, synthAudio, credentials) => { { vendor: 'deepgram', credentials, - language: 'en-US', - voice: 'alpha-aurora-en-v2', - model: 'alpha-aurora-en-v2', + model: 'aura-asteria-en', text: 'Hi there and welcome to jambones!' } );