@jambonz/speech-utils 0.1.18 → 0.1.20

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.
@@ -800,6 +800,7 @@ const synthPlayHT = async(client, logger, {
800
800
  params += `,voice_engine=${voice_engine}`;
801
801
  params += `,synthesize_url=${synthesizeUrl}`;
802
802
  params += ',write_cache_file=1';
803
+ params += `,language=${language}`;
803
804
  if (opts.quality) params += `,quality=${opts.quality}`;
804
805
  if (opts.speed) params += `,speed=${opts.speed}`;
805
806
  if (opts.seed) params += `,style=${opts.seed}`;
package/lib/utils.js CHANGED
@@ -47,7 +47,7 @@ function getFileExtension({vendor, renderForCaching = false}) {
47
47
  }
48
48
  case 'deepgram':
49
49
  case 'elevenlabs':
50
- case 'rimlabs':
50
+ case 'rimelabs':
51
51
  case 'playht':
52
52
  if (renderForCaching || JAMBONES_DISABLE_TTS_STREAMING) {
53
53
  return mp3Extension;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/speech-utils",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "TTS-related speech utilities for jambonz",
5
5
  "main": "index.js",
6
6
  "author": "Dave Horton",