screenstudio_voice_lines
Voices a script before recording without a project, returning each line's spoken duration and beat time so screen actions can be recorded to match narration length.
Instructions
Voice a script before recording, without a project: returns each line's spoken durationMs and beatMs (line plus 400ms) so every beat can be recorded to last as long as its line (screenstudio_desktop_perform minDurationMs, with markers:true). Uses edge-tts (online; the text leaves this Mac). The clips are cached, so screenstudio_narrate with the same text, voice and rate reuses them.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lines": "<lines>"
},
"name": "screenstudio_voice_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | No | Percent. Default 0; a re-sync keeps the last. | |
| lines | Yes | ||
| voice | No | Default en-US-AndrewMultilingualNeural; a re-sync keeps the last voice. |