Skip to content
Changelog

editor.track.set

Changes a track: its filter and effects on every clip of a video track, its mute, solo, gain and sound effects.

JSON-RPC 2.0project.write

Picture effects apply to every clip of a video track, after each clip's own. Sound effects apply to each clip's sound. audio_effects_add items are {kind, …settings}, with the catalog's defaults for the rest.

Parameters

  • tracknumberrequiredThe track's index.
  • filterstringA filter preset's name; "None" for none.
  • effects_addstring[]Effect kinds (fx.*) to add.
  • effects_removestring[]Effect kinds to remove.
  • mutedbooleanMuted.
  • solobooleanSolo.
  • gain_dbnumber−60 to 12 dB.
  • audio_effects_addobject[]Sound effects (audio.*) to add.
  • audio_effects_removestring[]Sound effect kinds to remove.
  • canvasstringA canvas's id or name, shown first. Default: the canvas shown.

Result

  • tracknumberIts index.
  • effectsstring[]Its effect kinds.
  • filterobjectIts filter.
  • mutedbooleanMuted.
  • solobooleanSolo.
  • gain_dbnumberIts gain.
  • audio_effects{ kind: string, on: boolean, settings: object }[]Its sound effects.

Errors

Invalid params (-32602) without track, or for an unknown filter or effect. Not found (-32004) for a track that isn't there. 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_tracks reaches this method.

Example

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

editor.looks.catalog · editor.timeline.get