mirror of
https://github.com/jambonz/speech-utils.git
synced 2025-12-19 03:37:49 +00:00
cartesia support volume for sonic3
This commit is contained in:
@@ -1316,6 +1316,7 @@ const synthCartesia = async(logger, {
|
|||||||
if (embedding) params += `,embedding=${embedding}`;
|
if (embedding) params += `,embedding=${embedding}`;
|
||||||
if (opts.speed) params += `,speed=${opts.speed}`;
|
if (opts.speed) params += `,speed=${opts.speed}`;
|
||||||
if (opts.emotion) params += `,emotion=${opts.emotion}`;
|
if (opts.emotion) params += `,emotion=${opts.emotion}`;
|
||||||
|
if (opts.volume) params += `,volume=${opts.volume}`;
|
||||||
params += '}';
|
params += '}';
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user