Skip to content
Changelog

audio.update

Changes a mixer track's pan, trim, mono, phase, sync offset or monitoring.

JSON-RPC 2.0project.write

Parameters

  • trackstringrequiredThe track's id or name, or its source's.
  • pannumber−1 (left) to 1 (right).
  • trim_dbnumber−24 to 24 dB.
  • monobooleanMix it to mono.
  • invertbooleanInvert its phase.
  • sync_msnumberIts sync offset, −2000 to 2000 ms.
  • cuebooleanHear it in the monitoring mix.

Errors

Not found (-32004) for an unknown track.

Events

Subscribers to events get workspace.changed.

From an AI agent

The MCP server's audio (action: update) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "audio.update",
"params": {
"track": "Mic",
"sync_ms": 120
}
}

Result

{}

audio.set · effects.add