Compare commits

..
2 Commits
Author SHA1 Message Date
Dave Horton 2e33e76cd5 0.0.19 2023-07-25 13:00:11 -04:00
Dave Horton 44d8af2a96 revert change to _not_ trim silence when azure ssml is used 2023-07-25 11:08:06 -04:00
3 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -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('<speak')
['microsoft', 'azure'].includes(vendor)
)
) {
filePath = `${TMP_FOLDER}/${key.replace('tts:', `tts-${salt || ''}`)}.r8`;
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@jambonz/speech-utils",
"version": "0.0.18",
"version": "0.0.19",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@jambonz/speech-utils",
"version": "0.0.18",
"version": "0.0.19",
"license": "MIT",
"dependencies": {
"@aws-sdk/client-polly": "^3.359.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@jambonz/speech-utils",
"version": "0.0.18",
"version": "0.0.19",
"description": "TTS-related speech utilities for jambonz",
"main": "index.js",
"author": "Dave Horton",