Check voice lines with speech-to-text
check_voiceVerifies voiceover recordings against script text by running Whisper on each WAV, saving word timestamps, and returning only failed lines with a count.
Instructions
Runs Whisper over every .wav and compares it with the text. Writes words.json (word timestamps). Returns only the lines that failed and a count.
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_json": "<lines_json>",
"voices_dir": "<voices_dir>"
},
"name": "check_voice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| lines_json | Yes | The lines.json used for the voice. | |
| voices_dir | Yes |