Compare commits

..
2 Commits
Author SHA1 Message Date
Dave Horton 6efc99ad83 0.2.21 2025-08-20 10:59:40 -04:00
Dave Horton 127d01a8c1 add playback_id setting to additional tts vendors 2025-08-20 10:58:28 -04:00
3 changed files with 6 additions and 3 deletions
+3
View File
@@ -315,6 +315,7 @@ const synthPolly = async(createHash, retrieveHash, logger,
let params = '{';
params += `language=${language}`;
params += `,playback_id=${playbackIdCounter++}`;
params += ',write_cache_file=1';
params += ',vendor=aws';
if (accessKeyId && secretAccessKey) {
@@ -593,6 +594,7 @@ const synthMicrosoft = async(logger, {
!renderForCaching && !disableTtsStreaming) {
let params = '{';
params += `api_key=${apiKey}`;
params += `,playback_id=${playbackIdCounter++}`;
params += `,language=${language}`;
params += ',vendor=microsoft';
params += `,voice=${voice}`;
@@ -775,6 +777,7 @@ const synthNvidia = async(client, logger, {
if (!JAMBONES_DISABLE_TTS_STREAMING && !renderForCaching && !disableTtsStreaming) {
let params = '';
params += `{riva_server_uri=${riva_server_uri}`;
params += `,playback_id=${playbackIdCounter++}`;
params += `,voice=${voice}`;
params += `,language=${language}`;
params += ',write_cache_file=1';
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@jambonz/speech-utils",
"version": "0.2.20",
"version": "0.2.21",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@jambonz/speech-utils",
"version": "0.2.20",
"version": "0.2.21",
"license": "MIT",
"dependencies": {
"23": "^0.0.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@jambonz/speech-utils",
"version": "0.2.20",
"version": "0.2.21",
"description": "TTS-related speech utilities for jambonz",
"main": "index.js",
"author": "Dave Horton",