motif_develop
Transform a musical motif into a specified variation by applying operations like transposition, inversion, retrograde, augmentation, diminution, or sequencing, with adjustable parameters.
Instructions
Transform a motif (set of notes) into a variation. transformation ∈ {transpose, invert, retrograde, augment, diminish, sequence_up, sequence_down}. transpose: shift by semitones. invert: mirror around axis_pitch. retrograde: reverse note order. augment: stretch durations by factor. sequence_up/down: transpose by semitones AND repeat.
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": {
"notes": "<notes>",
"transformation": "<transformation>"
},
"name": "motif_develop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| factor | No | Duration scale for augment/diminish | |
| semitones | No | ||
| axis_pitch | No | Mirror axis for inversion | |
| offset_beats | No | Shift the whole result | |
| transformation | Yes |