Skip to content
Changelog

audio.set

Sets a mixer track's volume, or mutes and unmutes it.

JSON-RPC 2.0project.write

Parameters

  • trackstringrequiredThe track's id or name, or its source's.
  • volume_dbnumberIts fader in dB, −100 to 26.
  • mutedbooleanMuted or not.

Errors

Not found (-32004) for an unknown track, or a source with no sound.

Events

Subscribers to events get audio.volume, audio.mute.

From an AI agent

The MCP server's set_audio reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "audio.set",
"params": {
"track": "Mic",
"muted": true
}
}

Result

{}

audio.update · audio.levels · panic.mute_all