midi_add_note
Add a MIDI note to a specific track's MIDI item by specifying pitch (0-127), velocity (1-127), and note start/end times in absolute project seconds.
Instructions
Add a MIDI note to the MIDI item on a track that starts at item_start_sec. note_start_sec/note_end_sec are absolute project time in seconds. pitch is 0-127 (60 = middle C), velocity is 1-127.
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>",
"item_start_sec": "<item_start_sec>",
"pitch": "<pitch>",
"velocity": "<velocity>",
"note_start_sec": "<note_start_sec>",
"note_end_sec": "<note_end_sec>"
},
"name": "midi_add_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pitch | Yes | ||
| channel | No | ||
| velocity | Yes | ||
| track_index | Yes | ||
| note_end_sec | Yes | ||
| item_start_sec | Yes | ||
| note_start_sec | Yes |