From 78e2c77bc72e86d44fc3957f2187b5ec9161e4e2 Mon Sep 17 00:00:00 2001 From: guilevi Date: Wed, 15 Sep 2021 02:13:50 +0200 Subject: [PATCH] maybe now --- tts/azure/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tts/azure/index.js b/tts/azure/index.js index 47ee08e..16414cd 100644 --- a/tts/azure/index.js +++ b/tts/azure/index.js @@ -20,7 +20,7 @@ module.exports = class AzureTTS extends BaseEngine { speechConfig.speechSynthesisVoiceName = this.voices[voice]; const audioConfig = sdk.AudioConfig.fromAudioFileOutput(filepath); const synthesizer = new sdk.SpeechSynthesizer(speechConfig, audioConfig); - synthesizer.speakSsmlTextAsync( + synthesizer.speakSsmlAsync( ''+text+'', result => { synthesizer.close();