Skip to content
Changelog

editor.sound.ducking

Sets how the canvas turns ducked clips down under voices.

JSON-RPC 2.0project.write

Parameters

  • onbooleanOn or off.
  • amount_dbnumber1 to 40.
  • threshold_dbnumber−80 to −6.
  • attack_msnumber0 to 2000.
  • hold_msnumber0 to 5000.
  • release_msnumber0 to 5000.
  • resetbooleanBack to the defaults, keeping on.
  • canvasstringA canvas's id or name, shown first. Default: the canvas shown.

Result

  • ducking{ on: boolean, amount_db: number, threshold_db: number, attack_ms: number, hold_ms: number, release_ms: number }The ducking.

Errors

Invalid params (-32602) for a value out of range. A state error (-32005) when no Editor project is open, or the open one is read-only because a newer Lightair made it.

Events

Subscribers to events get editor.changed.

From an AI agent

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

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "editor.sound.ducking",
"params": {}
}

editor.sound.duck_as_keys · editor.clip.set