Media
Détecte le BPM d’une boucle et l’étire au tempo de votre projet — BPM manuel ou piste de référence, avec re-vérification du BPM de sortie.
Appelez cet outil depuis votre code en trois langages.
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/tempo-matcher' \
-H 'Content-Type: application/json' \
-d '{"filename":"audioFile.ext","contentType":"application/octet-stream","size":12345}'
curl -X POST 'https://api.elysiatools.com/api/upload/presign/tempo-matcher' \
-H 'Content-Type: application/json' \
-d '{"filename":"referenceAudioFile.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/fr/api/tools/tempo-matcher' \
-F 'audioFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'speedSource=manual' \
-F 'targetBpm=128' \
-F 'referenceAudioFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'engine=atempo' \
-F 'trimToWholeBars=false' \
-F 'outputFormat=wav'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/tempo-matcher| Nom | Type | Requis | Description |
|---|---|---|---|
| audioFile | fileupload requis | Oui | — |
| speedSource | select | Non | — |
| targetBpm | number | Non | — |
| referenceAudioFile | fileupload requis | Non | — |
| engine | select | Non | — |
| trimToWholeBars | checkbox | Non | — |
| outputFormat | select | Non | — |
Résultat fichier
{
"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)"
}Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-tempo-matcher": {
"name": "tempo-matcher",
"description": "Détecte le BPM d’une boucle et l’étire au tempo de votre projet — BPM manuel ou piste de référence, avec re-vérification du BPM de sortie.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=tempo-matcher",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "tempo-matcher",
"arguments": {
"audioFile": "https://example.com/file.ext",
"speedSource": "manual",
"targetBpm": 128,
"referenceAudioFile": "https://example.com/file.ext",
"engine": "atempo",
"trimToWholeBars": false,
"outputFormat": "wav"
}
}
}Des questions ou un problème ? Contactez [email protected]