render_score
Turn a declarative RON score into a deterministic WAV mix for listening or inspection. Enable verify to run embedded assertions and receive a pass/fail report.
Instructions
Render a cochlea RON score (the declarative tick/track/note/automation IR) to a deterministic WAV mix. Use this to turn a composed score into audible PCM before probing or inspecting it. Set verify=true to also run the score's embedded verify: assertions and get the pass/fail report back in the same call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"score_path": "<score_path>",
"out_path": "<out_path>"
},
"name": "render_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bits | No | PCM encoding for the WAV: 'float' (32-bit, lossless, the render's ground truth — default), '24', or '16' (integer, for a small ordinary file). | float |
| verify | No | Run the score's embedded verify: assertions after rendering and include the report; the tool call reports isError:true if verification fails. Default false. | |
| out_path | Yes | Where to write the rendered mix (stereo WAV). | |
| stems_dir | No | Optional directory to also write one WAV per track (created if missing). | |
| score_path | Yes | Path to a RON score file (data form version 1). |