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
{ "jsonrpc": "2.0", "id": 1, "method": "audio.update", "params": { "track": "Mic", "sync_ms": 120 }}lightair call audio.update '{"track":"Mic","sync_ms":120}'const result = lightair.call("audio.update", {"track":"Mic","sync_ms":120});Result
{}