@jambonz/speech-utils 0.1.6 → 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.
- package/lib/synth-audio.js +2 -0
- package/package.json +1 -1
package/lib/synth-audio.js
CHANGED
|
@@ -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 {
|