generate_drum_pattern
Generate a drum pattern and insert it into a specified clip, with controls for style and beat length.
Instructions
Generate a drum pattern and add it to a clip.
Parameters:
track_index: The index of the track (should be a drum track)
clip_index: The index of the clip slot
style: Pattern style (basic, house, hiphop, dnb, random)
length: Pattern length in beats
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>"
},
"name": "generate_drum_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | basic | |
| length | No | ||
| clip_index | Yes | ||
| track_index | Yes |