set_role_gain
Adjust a dialogue, music, SFX, or voiceover role's mix gain in dB; the undoable change applies across every layer of that role at mix time.
Instructions
Set an audio role's mix gain (dB). role ∈ {dialogue,music,sfx,voiceover}. Recorded (undoable). Folds into every layer of that role at mix time.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"gain_db": "<gain_db>",
"role": "<role>"
},
"name": "set_role_gain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The audio role. | |
| gain_db | Yes | Role gain, dB; 0 = unity. |