mcp_opendaw_set_audio_region_gain
Adjust the gain of a specific audio region within a track using decibel values, enabling precise trim automation and clip balancing in your openDAW project.
Instructions
Set gain (in dB) on an audio region.
Audio regions have a per-region gain control (Float32Field, decibel). Use this for trim automation or balancing clips within a track.
unit_index: Audio unit index. track_index: Audio track index. region_index: Region index within the track. gain_db: Gain in dB (0 = unity, -6 = half volume, +6 = double).
Returns updated gain value.
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": {
"unit_index": "<unit_index>",
"track_index": "<track_index>",
"region_index": "<region_index>",
"gain_db": "<gain_db>"
},
"name": "mcp_opendaw_set_audio_region_gain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gain_db | Yes | ||
| unit_index | Yes | ||
| track_index | Yes | ||
| region_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |