audio.levels
Gives each mixer track's meters now, in dBFS, with its fader and mute.
JSON-RPC 2.0audio.levels
null in a meter is silence. While Lightair Live is connected, an audio.levels event also goes out 20 times a second, to clients that name it in events.subscribe.
Parameters
None.
Result
- tracks{ track: string, name: string, peak_db: [number | null, number | null], rms_db: [number | null, number | null], clip: boolean, muted: boolean, volume_db: number | null }[]Each track, left and right.
From an AI agent
The MCP server's audio (action: levels) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "audio.levels"}lightair call audio.levelsconst result = lightair.call("audio.levels", {});