API & MCP

Everything a person can do on Tonegrid Pattern Renderer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Tonegrid Pattern Renderer

Turns a Tonegrid project — the JSON file or a share link — into a 16-bit stereo WAV file: one seamless pattern loop or the whole song arrangement, with the Tonegrid synth voices, drums, pan and reverb send. The result reports peak and RMS levels per channel, crest factor, clipped samples, the strongest spectral lines, a spectrum chart and a waveform overview. It is the same renderer as the WAV export in the Tonegrid app, so both give identical files.

Inputs of Tonegrid Pattern Renderer
FieldTypeDefaultDescription
project (required)textarea—Tonegrid project (JSON or share link). Paste the content of a .tonegrid.json file, the project object returned by the Tonegrid Pattern Builder, a Tonegrid share link (…/app#project=…) or a short beat link (…/app#beat=…).
rangeselect (pattern, song)"pattern"Range

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)

{
  "mcpServers": {
    "tonegrid-pattern-render": { "type": "http", "url": "https://tonegridpatternrender.usefulweb.site/mcp" }
  }
}