From b8a17164f8a33d4bf5737e877570d9d53bd95bcf Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Sun, 1 Aug 2021 09:58:05 +0200 Subject: [PATCH] Tried TTS with Larynx --- jarvis/config/config.json | 5 ++++- jarvis/main.py | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/jarvis/config/config.json b/jarvis/config/config.json index a34c66b..98c2f60 100644 --- a/jarvis/config/config.json +++ b/jarvis/config/config.json @@ -6,5 +6,8 @@ "CLIENT_URL": "http://127.0.0.1:5001", "TRAIN_ON_START": false, "SPOTIFY_CLIENT_ID": "!secret SPOTIFY_CLIENT_ID", - "SPOTIFY_CLIENT_SECRET": "!secret SPOTIFY_CLIENT_SECRET" + "SPOTIFY_CLIENT_SECRET": "!secret SPOTIFY_CLIENT_SECRET", + "LARYNX_VOICE": "siwis-glow_tts", + "LARYNX_QUALITY": "low", + "LARYNX_DENOISER_STRENGTH": 0.01 } diff --git a/jarvis/main.py b/jarvis/main.py index 57cba67..ed93827 100644 --- a/jarvis/main.py +++ b/jarvis/main.py @@ -4,7 +4,7 @@ from jarvis.skills import intent_manager from jarvis.skills.entertainement.jokes import JokesSkill from jarvis.skills.entertainement.spotify import SpotifySkill from jarvis.skills.research.wikipedia import WikipediaSkill -from jarvis.utils import languages_utils, flask_utils +from jarvis.utils import languages_utils, flask_utils, client_utils if __name__ == '__main__': # Load lingua franca in the memory @@ -26,5 +26,7 @@ if __name__ == '__main__': # intent_manager.recognise("coupe la musique") # WORKING # intent_manager.recognise("c'est quoi le nom de cette chanson ?") # WORKING + client_utils.speak("Abonnez-vous pour d'autres vidéos de ce type et lâchez un pouce bleu ça fait toujours plaisir. ", "medium") # Start the flask server flask_utils.start_server() +