replace_all_notes_to_clip
Replace all notes in a specified Ableton Live MIDI clip by providing its ID and a new set of notes, enabling precise editing of MIDI data.
Instructions
Replace clip all notes by clip id
Input Schema
Name | Required | Description | Default |
---|---|---|---|
clip_id | Yes | ||
notes | Yes | [array] the notes to remove. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"clip_id": {
"type": "string"
},
"notes": {
"description": "[array] the notes to remove.",
"items": {
"additionalProperties": false,
"properties": {
"duration": {
"description": "[float] the note length in beats.",
"type": "number"
},
"muted": {
"description": "[bool] true = the note is deactivated (false by default).",
"type": "boolean"
},
"pitch": {
"description": "[int] the MIDI note number, 0...127, 60 is C3.",
"maximum": 127,
"minimum": 0,
"type": "number"
},
"time": {
"description": "[float] the note start time in beats of absolute clip time.",
"type": "number"
},
"velocity": {
"description": "[float] the note velocity, 0 ... 127 (100 by default).",
"maximum": 127,
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"notes",
"clip_id"
],
"type": "object"
}