@jambonz/speech-utils 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1463,6 +1463,10 @@ const synthGradium = async(logger, {
1463
1463
  params += `,write_cache_file=${disableTtsCache ? 0 : 1}`;
1464
1464
  if (model_id) params += `,model_id=${model_id}`;
1465
1465
  if (pronunciation_id) params += `,pronunciation_id=${pronunciation_id}`;
1466
+ /* the say: param parser is brace-aware, so a nested json object survives intact */
1467
+ if (json_config) {
1468
+ params += `,json_config=${typeof json_config === 'string' ? json_config : JSON.stringify(json_config)}`;
1469
+ }
1466
1470
  params += '}';
1467
1471
 
1468
1472
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/speech-utils",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "TTS-related speech utilities for jambonz",
5
5
  "main": "index.js",
6
6
  "author": "Dave Horton",