Media
Add a delay effect
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/audio-delay' \
-F 'file=@/path/to/audioFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/audio-delay' \
-F 'audioFile=/path/to/file.ext' \
-F 'delayMs=250' \
-F 'feedback=0.4' \
-F 'mix=0.4' \
-F 'tempoSync=none' \
-F 'outputFormat=mp3'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/audio-delay| Name | Type | Required | Description |
|---|---|---|---|
| audioFile | fileupload required | Yes | — |
| delayMs | number | No | Time between original sound and delayed repetition. Common values: 100-500ms for slapback, 250-750ms for rhythmic delays. |
| feedback | range | No | Controls how much delayed sound feeds back into itself. Higher values create longer decay tails. |
| mix | range | No | Balance between dry (original) and wet (delayed) signal. 0 = dry only, 0.5 = equal mix, 1.0 = wet only. |
| tempoSync |
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-audio-delay": {
"name": "audio-delay",
"description": "Add a delay effect",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=audio-delay",
"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": "audio-delay",
"arguments": {
"audioFile": "https://example.com/file.ext",
"delayMs": 250,
"feedback": 0.4,
"mix": 0.4,
"tempoSync": "none",
"outputFormat": "mp3"
}
}
}| select |
| No |
| Sync delay time to musical tempo. Useful for rhythmic delays in music production. |
| outputFormat | select | No | — |
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)"
}Questions or issues? Contact [email protected]