API & MCP
Everything a person can do on Tracklayer Mixdown (project JSON to WAV), a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://tracklayermixdown.usefulweb.app/api/v1/calculate– run Tracklayer Mixdown (project JSON to WAV)GET https://tracklayermixdown.usefulweb.app/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Tracklayer Mixdown (project JSON to WAV)
Renders a Tracklayer project file to a stereo 48 kHz WAV: instrument tracks play their note clips through the shared synth (or modular) patches, audio clips come from audio embedded in the file or from generated-audio recipes, and every track runs through its effects, volume and pan automation, effect returns and the master limiter. The result includes integrated loudness and true peak. The same engine renders the export in the Tracklayer app, so an agent can build a song as JSON and a person can open and change it in the app.
| Field | Type | Default | Description |
|---|---|---|---|
project | textarea | "{\"format\":\"tracklayer-project\",\"version\":1,\"name\":\"Night drive\",\"tem | Tracklayer project (JSON). A .tracklayer.json file (format “tracklayer-project”). Audio clips need their audio embedded (“Save project with audio” in the app) or a generated-audio recipe. |
range | select (song, loop) | "song" | Range |
tail | number | 2 | Tail after the end. Lets reverb and release tails ring out. |
target | select (none, ebu, streaming, apple, podcast) | "streaming" | Compare loudness with |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://tracklayermixdown.usefulweb.app/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
tracklayer_mixdown - Local stdio connector:
node src/mcp-stdio.ts --tool=tracklayer-mixdown
{
"mcpServers": {
"tracklayer-mixdown": { "type": "http", "url": "https://tracklayermixdown.usefulweb.app/mcp" }
}
}