@jambonz/speech-utils 0.2.7 → 0.2.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.
@@ -963,6 +963,11 @@ const synthRimelabs = async(logger, {
963
963
  params += ',write_cache_file=1';
964
964
  if (opts.speedAlpha) params += `,speed_alpha=${opts.speedAlpha}`;
965
965
  if (opts.reduceLatency) params += `,reduce_latency=${opts.reduceLatency}`;
966
+ // Arcana model parameters
967
+ if (opts.temperature) params += `,temperature=${opts.temperature}`;
968
+ if (opts.repetition_penalty) params += `,repetition_penalty=${opts.repetition_penalty}`;
969
+ if (opts.top_p) params += `,top_p=${opts.top_p}`;
970
+ if (opts.max_tokens) params += `,max_tokens=${opts.max_tokens}`;
966
971
  params += '}';
967
972
 
968
973
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/speech-utils",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "TTS-related speech utilities for jambonz",
5
5
  "main": "index.js",
6
6
  "author": "Dave Horton",