Media
Render true sidechain compression with FFmpeg’s two-input sidechaincompress: filter the trigger, shape the envelope (attack/release/knee/link/mix), and get the output file plus measured gain reduction.
Call this tool from your code in three languages.
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/sidechain-compressor-pro' \
-H 'Content-Type: application/json' \
-d '{"filename":"musicFile.ext","contentType":"application/octet-stream","size":12345}'
curl -X POST 'https://api.elysiatools.com/api/upload/presign/sidechain-compressor-pro' \
-H 'Content-Type: application/json' \
-d '{"filename":"triggerFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/en/api/tools/sidechain-compressor-pro' \
-F 'musicFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'triggerFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'preset=kick-duck-bass' \
-F 'thresholdDb=-20' \
-F 'ratio=5' \
-F 'attackMs=4' \
-F 'releaseMs=60' \
-F 'makeupDb=0' \
-F 'knee=2.8' \
-F 'levelScDb=0' \
-F 'detection=rms' \
-F 'link=average' \
-F 'mixPercent=100' \
-F 'scHighpassHz=0' \
-F 'scLowpassHz=0' \
-F 'outputFormat=wav'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/sidechain-compressor-pro| Name | Type | Required | Description |
|---|---|---|---|
| musicFile | fileupload required | Yes | — |
| triggerFile | fileupload required | Yes | — |
| preset | select | Yes | — |
| thresholdDb | number | Yes | — |
| ratio | number | Yes | — |
| attackMs | number | Yes | — |
| releaseMs | number | Yes | — |
| makeupDb | number | Yes | — |
| knee | number | Yes | — |
| levelScDb | number | Yes | — |
| detection | select | Yes | — |
| link | select | Yes | — |
| mixPercent | number | Yes | — |
| scHighpassHz | number | Yes | — |
| scLowpassHz | number | Yes | — |
| outputFormat | select | Yes | — |
File result
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-sidechain-compressor-pro": {
"name": "sidechain-compressor-pro",
"description": "Render true sidechain compression with FFmpeg’s two-input sidechaincompress: filter the trigger, shape the envelope (attack/release/knee/link/mix), and get the output file plus measured gain reduction.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=sidechain-compressor-pro",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "sidechain-compressor-pro",
"arguments": {
"musicFile": "https://example.com/file.ext",
"triggerFile": "https://example.com/file.ext",
"preset": "kick-duck-bass",
"thresholdDb": -20,
"ratio": 5,
"attackMs": 4,
"releaseMs": 60,
"makeupDb": 0,
"knee": 2.8,
"levelScDb": 0,
"detection": "rms",
"link": "average",
"mixPercent": 100,
"scHighpassHz": 0,
"scLowpassHz": 0,
"outputFormat": "wav"
}
}
}Questions or issues? Contact [email protected]