set-audio-levels
Set audio levels in decibels for an audio or AV layer, with support for per-channel left/right control and keyframe-based automation for dynamic volume changes.
Instructions
Set the audio levels (in dB) for an audio or AV layer. Supports per-channel control and optional keyframing.
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. |