Render a song to audio
renderProduces WAV, Ogg or Opus files: the audio file a user asks for, to download or to embed in a game, app, presentation or video. A request for a song, a tune or music needs no file: song's share link plays it in the browser (the share link plays it, no render), and each render counts against the hourly render quota. Send mtl, ref (a songId) or compose; it checks the song itself (syntax: describe(topic="syntax"), sections by q). One file holds about 8 min as WAV (about 5 at 24-bit 48 kHz), longer as Ogg or Opus; a longer request is refused with the exact limit. len gives exact seconds; loop:true adds seamless loop points; stems:true gives one file per instrument role (@lead, @bass, @drums...); adaptive:true gives a zip of same-length looping layers in intensities, stingers from extra cues, a manifest, a Web Audio player and Godot, Unity, FMOD and Wwise notes; cues renders named sections. A long render replies rendering with asset ids, and assets(ids) gives the links when done. Files last 2 h; https://moosetracker.app/acceptable-use.html Schema a964948f.
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": "render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cue | No | ||
| len | No | Exact seconds: a short song repeats its order (said in the result), a long one fades out; never silence | |
| mtl | No | Song in MTL text (describe topic=mtl). Kept 2 hours as a working copy: later calls can send ref (the songId) instead. | |
| ref | No | Instead of mtl: a songId from an earlier reply (kept 2 hours), a render asset id, or a share link | |
| zip | No | ||
| bits | No | WAV bits | |
| cues | No | One file per cue | |
| loop | No | Seamless loop plus loop points | |
| peak | No | Peak dBFS | |
| rate | No | Hz | |
| tail | No | Ring-out seconds | |
| genre | No | For the score check | |
| range | No | Order positions only, e.g. "2-4" | |
| stems | No | One file per role | |
| style | No | Voice palette; default chip | |
| detail | No | Adds score, per-section loudness and MIX flags with fixes | |
| format | No | Default wav; ogg = Vorbis 44.1 kHz; opus = Ogg Opus 48 kHz | |
| compose | No | Instead of mtl: {bpm, form, chords, parts:[{id,gen}]}. describe(topic="generators") | |
| preview | No | One section (range, default 1), ≤20 s Opus, light quota, MIX flags | |
| adaptive | No | A zip of same-length looping layers grouped into intensities (default calm, tense, full; set your own with adaptive.levels), stingers from extra cues, manifest.json, a Web Audio player and setup notes for Godot, Unity, FMOD and Wwise (describe topic=loops) | |
| audition | No | Hear one channel alone as a preview; try swaps its sound: {ch:3, try:"i3 \"Warm Pad\""} | |
| loudness | No | ||
| skip_review | No | Reason to skip a full song's deep review (else it comes first) |