Contrast
audacity_contrastMeasure RMS level differences between foreground speech and background room tone to check numeric audio contrast, with track controls and selection restored for each range.
Instructions
Measure the RMS level difference between foreground speech and background room tone without opening Audacity Contrast. Each range is exported with current track controls and selection restored. This is a numeric contrast check, not full accessibility certification.
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": {
"foreground": "<foreground>",
"background": "<background>"
},
"name": "audacity_contrast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minimumDb | No | ||
| background | Yes | ||
| foreground | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| status | Yes | ||
| minimumDb | Yes | ||
| differenceDb | Yes | ||
| backgroundRmsDbfs | Yes | ||
| foregroundRmsDbfs | Yes |