@jambonz/speech-utils 0.1.4 → 0.1.8

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.
@@ -684,6 +684,8 @@ const synthElevenlabs = async(logger, {
684
684
  if (opts.voice_settings?.stability) params += `,stability=${opts.voice_settings.stability}`;
685
685
  if (opts.voice_settings?.style) params += `,style=${opts.voice_settings.style}`;
686
686
  if (opts.voice_settings?.use_speaker_boost === false) params += ',use_speaker_boost=false';
687
+ if (opts.previous_text) params += `,previous_text=${opts.previous_text}`;
688
+ if (opts.next_text) params += `,next_text=${opts.next_text}`;
687
689
  params += '}';
688
690
 
689
691
  return {
package/lib/utils.js CHANGED
@@ -53,6 +53,7 @@ function getFileExtension(vendor) {
53
53
  }
54
54
  case 'nuance':
55
55
  case 'nvidia':
56
+ case 'verbio':
56
57
  return r8Extension;
57
58
  default:
58
59
  return mp3Extension;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/speech-utils",
3
- "version": "0.1.4",
3
+ "version": "0.1.8",
4
4
  "description": "TTS-related speech utilities for jambonz",
5
5
  "main": "index.js",
6
6
  "author": "Dave Horton",