From f546ca998d9b89bcf928f70b615c15d511d06ded Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Wed, 3 Apr 2024 13:32:32 -0400 Subject: [PATCH] cache files for azure tts streaming are r8 --- lib/synth-audio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/synth-audio.js b/lib/synth-audio.js index 894e6df..7b64f24 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -141,7 +141,7 @@ async function synthAudio(client, logger, stats, { account_sid, let filePath; if (['nuance', 'nvidia'].includes(vendor) || ( - process.env.JAMBONES_TTS_TRIM_SILENCE && + (process.env.JAMBONES_TTS_TRIM_SILENCE || !process.env.JAMBONES_DISABLE_TTS_STREAMING) && ['microsoft', 'azure'].includes(vendor) ) || (