get_notes
Read every MIDI note from an Ableton Live clip, including pitch, timing, velocity, and mute, with optional filters by time, pitch, selection, or note IDs.
Instructions
Read the MIDI notes of a clip (address: 'tracks/N/slots/M/clip', MIDI clips only) with every field Live stores: id (stable while the note exists; use it with edit_notes), pitch, start_time and duration (beats), velocity (1-127), mute, probability (0-1), velocity_deviation (-127..127) and release_velocity (0-127). Sorted by start_time then pitch. Without filters it returns all notes (capped by limit, default 2000; truncated says if more exist). Filter by a range (from_time/time_span in beats, from_pitch/pitch_span), by ids, or with selected: true for the notes selected in Live's editor. Also returns the clip's length and loop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Only these note ids | |
| limit | No | Maximum notes returned (default 2000) | |
| address | Yes | A MIDI clip, e.g. 'tracks/2/slots/0/clip' | |
| selected | No | Only notes selected in Live's editor | |
| from_time | No | Range start in beats (notes that start in the range) | |
| time_span | No | Range length in beats | |
| from_pitch | No | Lowest MIDI pitch of the range | |
| pitch_span | No | Number of pitches in the range |