Pattern Write
pattern_writeWrite note patterns into a track at a specified bar using text lanes to define pitches and rests, enabling precise sequence editing in a text-driven DAW.
Instructions
Step-sequence: lanes = {pitch: 'x...x...X...x..o'} ('.' rest, X accent 127, x 100, o 70, - 45, '_' tie). step = beats per character (0.25 = 16ths). Pattern length (chars*step) sets the span; repeat tiles it.
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": {
"project": "<project>",
"track": "<track>",
"bar": "<bar>",
"lanes": "<lanes>"
},
"name": "pattern_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | Yes | ||
| dur | No | ||
| mode | No | replace | |
| step | No | ||
| lanes | Yes | ||
| track | Yes | ||
| repeat | No | ||
| project | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |