mirror of
https://github.com/jambonz/speech-utils.git
synced 2026-07-04 19:31:49 +00:00
cartesia should have speed if speed value is 0.0
This commit is contained in:
+1
-1
@@ -1119,7 +1119,7 @@ const synthCartesia = async(logger, {
|
|||||||
),
|
),
|
||||||
...(opts.speed || opts.emotion && {
|
...(opts.speed || opts.emotion && {
|
||||||
experimentalControls: {
|
experimentalControls: {
|
||||||
...(opts.speed && {speed: opts.speed}),
|
...(opts.speed !== null && opts.speed !== undefined && {speed: opts.speed}),
|
||||||
...(opts.emotion && {emotion: opts.emotion}),
|
...(opts.emotion && {emotion: opts.emotion}),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user