write_melody
Generate melodies or basslines from compact note:beats text into Ableton clips, creating a clip when the target slot is empty.
Instructions
Write a melody / bassline from compact text into a clip (created if the slot is empty).
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": {
"melody": "<melody>"
},
"name": "write_melody"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip | No | Clip ref/path (e.g. 'id 123'); alternative to track+slot | |
| mode | No | replace | |
| name | No | ||
| slot | No | ||
| track | No | ||
| melody | Yes | Space-separated 'note:beats' tokens, e.g. 'A3:1 C4:.5 E4:.5 r:1 [A2 E3]:2 G4:1@80'. r = rest, [..] = chord, @n = velocity. Notes use Ableton octaves (C3 = 60) | |
| velocity | No | ||
| transpose | No | ||
| default_beats | No |