set-audio-levels
Adjust audio levels in dB for an After Effects audio or AV layer, with per-channel control and optional keyframes.
Instructions
Set the audio levels (in dB) for an audio or AV layer. Supports per-channel control and optional keyframing.
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": {
"compIndex": "<compIndex>",
"layerIndex": "<layerIndex>"
},
"name": "set-audio-levels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Level in dB applied to both left and right channels (e.g. 0 = unity, -6 = half volume, -96 = silence). | |
| compIndex | Yes | 1-based composition index. | |
| leftLevel | No | Left channel level in dB (overrides level for left channel). | |
| layerIndex | Yes | 1-based layer index. | |
| rightLevel | No | Right channel level in dB (overrides level for right channel). | |
| timeInSeconds | No | If provided, sets a keyframe at this time instead of a static value. |