Hey Cartesia,
I'm working on an initial implementation of Cartesia, and have run into an issue. It seems like the "speed" and "emotion" experimental controls have no impact on the synthesised audio. I'm using a websocket connection and the TS library:
const response = await websocket.send({
modelId: process.env.CARTESIA_MODEL_ID!,
voice: {
mode: "id",
id: process.env.CARTESIA_VOICE_ID!,
experimentalControls: {
speed: "slowest",
emotion: []
}
},
transcript: text,
addTimestamps: true,
});
I've seen a couple of other posts that suggest removing the "emotion" parameter. I've confirmed that the following is sent at a low level:
{
"model_id": "sonic-2",
"voice": {
"mode": "id",
"id": "a01c369f-6d2d-4185-bc20-b32c225eab70",
"__experimental_controls": {
"speed": "slowest",
"emotion": []
}
},
"transcript": "<our text>",
"add_timestamps": true,
"context_id": "easy-doors-guess",
"output_format": {
"container": "raw",
"encoding": "pcm_s16le",
"sample_rate": 8000
}
}
I've tried with a couple of voices with the same result. Is this control expected to be working currently?
Thanks in advance,
Joe