audio_tools_loop
Turn music or ambience into a seamless loop: cuts at zero crossings and crossfades the end into the start with an equal-power curve. Returns the loop, a 3x preview and loop points in samples. Price: $0.10 USDC via x402, charged only on success. Part of Audio tools: Make generated or recorded sounds game-ready: trim silence and match loudness (LUFS with a true-peak ceiling), seamless loops for music and ambience with loop points, and SFX variations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audio_tools_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mono | No | ||
| audio | No | Audio file as base64 (wav, mp3, ogg, flac, m4a). | |
| endSec | No | ||
| format | No | ogg | |
| audioUrl | No | Audio file URL. | |
| startSec | No | ||
| crossfadeMs | No |