generate_melody
Generates a singable melody over a chord progression with chord tones on strong beats, stepwise motion, and adjustable contour and density.
Instructions
Generate a singable melody over a progression: chord tones on strong beats, mostly steps, a phrase shape and breaths. contour: arch, rise, fall, wave, question_answer. density 0..1 (0.3 ballad, 0.7 busy). Change seed for another idea; same seed = same melody.
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": {
"track_index": "<track_index>",
"clip_index": "<clip_index>",
"key": "<key>"
},
"name": "generate_melody"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| low | No | ||
| high | No | ||
| seed | No | ||
| scale | No | major | |
| chords | No | ||
| contour | No | arch | |
| density | No | ||
| numerals | No | ||
| velocity | No | ||
| clip_index | Yes | ||
| track_index | Yes | ||
| beats_per_chord | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |