From 44d8af2a96a46e9c878d59c9706882be24c652e4 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Tue, 25 Jul 2023 11:08:06 -0400 Subject: [PATCH] revert change to _not_ trim silence when azure ssml is used --- lib/synth-audio.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/synth-audio.js b/lib/synth-audio.js index 5896fe8..40d7059 100644 --- a/lib/synth-audio.js +++ b/lib/synth-audio.js @@ -125,8 +125,7 @@ async function synthAudio(client, logger, stats, { account_sid, if (['nuance', 'nvidia'].includes(vendor) || ( process.env.JAMBONES_TTS_TRIM_SILENCE && - ['microsoft', 'azure'].includes(vendor) && - !text.startsWith('