@jambonz/speech-utils 1.0.1 → 1.0.3
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
|
@@ -1136,6 +1136,8 @@ const synthRimelabs = async(logger, {
|
|
|
1136
1136
|
if (opts.repetition_penalty) params += `,repetition_penalty=${opts.repetition_penalty}`;
|
|
1137
1137
|
if (opts.top_p) params += `,top_p=${opts.top_p}`;
|
|
1138
1138
|
if (opts.max_tokens) params += `,max_tokens=${opts.max_tokens}`;
|
|
1139
|
+
// Coda model parameters
|
|
1140
|
+
if (opts.timeScaleFactor) params += `,time_scale_factor=${opts.timeScaleFactor}`;
|
|
1139
1141
|
params += '}';
|
|
1140
1142
|
|
|
1141
1143
|
return {
|