Media
Apply a vocoder effect using a carrier and modulator
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-vocoder' \
-F 'file=@/path/to/modulatorFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/audio-vocoder' \
-F 'modulatorFile=/path/to/file.ext' \
-F 'carrierType=synth' \
-F 'carrierFreq=100' \
-F 'carrierWaveform=sawtooth' \
-F 'bands=16' \
-F 'analysis=50' \
-F 'mix=0.8' \
-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-vocoder| Name | Type | Required | Description |
|---|---|---|---|
| modulatorFile | fileupload required | Yes | The voice or instrument to be vocoded (analyzed for spectral content). |
| carrierType | select | No | Type of carrier signal that provides the timbre. Synth = clean electronic, Noise = gritty texture. |
| carrierFreq | number | No | Base frequency for the synthesized carrier. Lower = deeper voice, Higher = brighter. |
| carrierWaveform | select | No | Waveform shape of the carrier oscillator. |
| bands |
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-vocoder": {
"name": "audio-vocoder",
"description": "Apply a vocoder effect using a carrier and modulator",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=audio-vocoder",
"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-vocoder",
"arguments": {
"modulatorFile": "https://example.com/file.ext",
"carrierType": "synth",
"carrierFreq": 100,
"carrierWaveform": "sawtooth",
"bands": 16,
"analysis": 50,
"mix": 0.8,
"outputFormat": "mp3"
}
}
}| number |
| No |
| Number of frequency bands to analyze. More bands = clearer articulation, less = smoother. |
| analysis | number | No | Window size for spectral analysis. Shorter = more responsive, Longer = smoother transitions. |
| mix | range | No | Balance between dry (original) and wet (vocoded) signal. |
| 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]