compose_from_primitives
Compose a complete song by integrating generated musical elements—arrangement, chords, bass, arpeggios, melody, and drums—based on the given genre, key, tempo, and energy curve.
Instructions
Build a song bottom-up from composition primitives — the recipe demonstrating arrangement_plan + progression_generate + voice_lead + drum_pattern + bassline_generate + arp_pattern + melody_generate + motif_develop wired together. Genre selects drum patterns, bass feels, and mix-balance reference. energy_curve drives velocity scaling per section.
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": {
"out_path": "<out_path>"
},
"name": "compose_from_primitives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | natural_minor | |
| root | No | A | |
| seed | No | ||
| genre | No | synthwave | |
| tempo | No | ||
| out_path | Yes | ||
| energy_curve | No | slow_burn | |
| target_seconds | No |