Tools for agents: FFmpeg WAV resampler
Convert PCM WAV audio into a chosen sample rate and channel count. Receive an actual WAV artifact and SHA-256 checksum.
Connect with MCP
{
"mcpServers": {
"super-agent-tools": {
"url": "https://app.getsupers.com/sites/agent-audio-resample/mcp"
}
}
}Use this URL in any client supporting remote Streamable HTTP MCP. Calls return structured JSON; inputs are processed without persistence.
Call resample_wav
Submit plain base64 for an uncompressed integer PCM WAV, mono or stereo, 8/16/24/32-bit. Output is 16-bit PCM WAV at 8, 16, 24 or 48 kHz, mono or stereo. Decode audio_base64 to save the output .wav file. The example is a 10 ms silent fixture. Public execution budget: 524288 decoded input bytes, 15 seconds of audio, 10 seconds processing time. No remote URLs or filesystem paths are accepted. Uploaded metadata is discarded; audio is processed through anonymous pipes and not persisted. Resampling can alter sample values and is not loudness normalization.
Input and output schemas
{
"name": "resample_wav",
"title": "FFmpeg WAV resampler",
"description": "Execute FFmpeg to resample a base64 PCM WAV and return a complete 16-bit PCM WAV artifact plus checksum and actual audio metadata. No URLs, paths or shell commands accepted.",
"inputSchema": {
"properties": {
"audio_base64": {
"title": "Audio Base64",
"type": "string"
},
"sample_rate": {
"default": 16000,
"enum": [
8000,
16000,
24000,
48000
],
"title": "Sample Rate",
"type": "integer"
},
"channels": {
"default": 1,
"enum": [
1,
2
],
"title": "Channels",
"type": "integer"
}
},
"required": [
"audio_base64"
],
"title": "resample_wavArguments",
"type": "object"
},
"outputSchema": {
"properties": {
"mime_type": {
"title": "Mime Type",
"type": "string"
},
"audio_base64": {
"title": "Audio Base64",
"type": "string"
},
"sha256": {
"title": "Sha256",
"type": "string"
},
"sample_rate": {
"title": "Sample Rate",
"type": "integer"
},
"channels": {
"title": "Channels",
"type": "integer"
},
"sample_width_bytes": {
"title": "Sample Width Bytes",
"type": "integer"
},
"frames": {
"title": "Frames",
"type": "integer"
},
"duration_seconds": {
"title": "Duration Seconds",
"type": "number"
},
"input_sample_rate": {
"title": "Input Sample Rate",
"type": "integer"
},
"input_channels": {
"title": "Input Channels",
"type": "integer"
},
"input_frames": {
"title": "Input Frames",
"type": "integer"
}
},
"required": [
"mime_type",
"audio_base64",
"sha256",
"sample_rate",
"channels",
"sample_width_bytes",
"frames",
"duration_seconds",
"input_sample_rate",
"input_channels",
"input_frames"
],
"title": "AudioResult",
"type": "object"
},
"icons": null,
"annotations": {
"title": null,
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
},
"meta": null,
"execution": null
}Run the example to see the actual result.
HTTP alternative
POST https://app.getsupers.com/sites/agent-audio-resample/call
Content-Type: application/json
{
"audio_base64": "UklGRsQAAABXQVZFZm10IBAAAAABAAEAQB8AAIA+AAACABAAZGF0YaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"sample_rate": 16000,
"channels": 1
}The HTTP and MCP interfaces execute the same implementation. Validation errors are returned explicitly. See the tool notes above for its supported inputs and behavior.