Skip to content
Changelog

editor.sound.voice

Cleans up a clip's voice, from light to strong, or turns the cleaning off.

JSON-RPC 2.0project.write

Parameters

  • clipstringrequiredThe clip's id, from editor.timeline.get.
  • amountnumber | string | null0 (light) to 1 (strong), or "off".
  • podcastbooleanThe podcast sound.
  • isolatebooleanRun the voice isolator first.
  • canvasstringA canvas's id or name, shown first. Default: the canvas shown.

Result

  • voice{ amount: number, podcast: boolean, isolate: boolean } | nullThe voice cleaning.

Errors

Invalid params (-32602) with nothing to set, an amount out of range, a clip with no sound, or a compound clip. A state error (-32005) for podcast or isolate when the voice isn't cleaned yet. A state error (-32005) when no Editor project is open, or the open one is read-only because a newer Lightair made it. Invalid params (-32602) for a clip id that can't be read; not found (-32004) for a clip that isn't on the canvas.

Events

Subscribers to events get editor.changed.

From an AI agent

The MCP server's editor_sound (action: voice) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "editor.sound.voice",
"params": {
"clip": "019ad3f6-5e6f-7071-8283-9e0f1a2b3c4d",
"amount": 0.6,
"podcast": true
}
}

Result

{ "voice": { "amount": 0.6, "podcast": true, "isolate": false } }

editor.sound.list