MidiMap
Defines the binding surface that control surface scripts use to map physical
MIDI controls to Live parameters. Module-level forward_* and map_*
functions install CC, note, and pitch-bend mappings, while CCFeedbackRule,
NoteFeedbackRule, and PitchBendFeedbackRule describe the feedback values
Live should send back to the controller.
Classes
Section titled “Classes”CCFeedbackRule
Section titled “CCFeedbackRule”Structure to define feedback properties of MIDI mappings. From Live’s runtime docstring.
Properties
Section titled “Properties”cc_no: int
Section titled “cc_no: int”cc_value_map: tuple
Section titled “cc_value_map: tuple”channel: int
Section titled “channel: int”delay_in_ms: float
Section titled “delay_in_ms: float”enabled: bool
Section titled “enabled: bool”NoteFeedbackRule
Section titled “NoteFeedbackRule”Structure to define feedback properties of MIDI mappings. From Live’s runtime docstring.
Properties
Section titled “Properties”channel: int
Section titled “channel: int”delay_in_ms: float
Section titled “delay_in_ms: float”enabled: bool
Section titled “enabled: bool”note_no: int
Section titled “note_no: int”vel_map: tuple
Section titled “vel_map: tuple”PitchBendFeedbackRule
Section titled “PitchBendFeedbackRule”Structure to define feedback properties of MIDI mappings. From Live’s runtime docstring.
Properties
Section titled “Properties”channel: int
Section titled “channel: int”delay_in_ms: float
Section titled “delay_in_ms: float”enabled: bool
Section titled “enabled: bool”value_pair_map: tuple
Section titled “value_pair_map: tuple”MapMode
Section titled “MapMode”Members
Section titled “Members”absolute | 0 |
relative_signed_bit | 1 |
relative_binary_offset | 2 |
relative_two_compliment | 3 |
relative_signed_bit2 | 4 |
absolute_14_bit | 5 |
relative_smooth_signed_bit | 6 |
relative_smooth_binary_offset | 7 |
relative_smooth_two_compliment | 8 |
relative_smooth_signed_bit2 | 9 |
Functions
Section titled “Functions”forward_midi_cc()
Section titled “forward_midi_cc()”- script_handle: int
- midi_map_handle: int
- midi_channel: int
- controller_number: int
- should_consume_event: bool = True
forward_midi_note()
Section titled “forward_midi_note()”- script_handle: int
- midi_map_handle: int
- midi_channel: int
- note: int
- should_consume_event: bool = True
forward_midi_pitchbend()
Section titled “forward_midi_pitchbend()”- script_handle: int
- midi_map_handle: int
- midi_channel: int
map_midi_cc()
Section titled “map_midi_cc()”- midi_map_handle: int
- parameter: DeviceParameter
- midi_channel: int
- controller_number: int
- map_mode: MapMode | int
- avoid_takeover: bool
- sensitivity: float = 1.0
map_midi_cc_with_feedback_map()
Section titled “map_midi_cc_with_feedback_map()”- midi_map_handle: int
- parameter: DeviceParameter
- midi_channel: int
- controller_number: int
- map_mode: MapMode | int
- feedback_rule: CCFeedbackRule
- avoid_takeover: bool
- sensitivity: float = 1.0
map_midi_note()
Section titled “map_midi_note()”- midi_map_handle: int
- device_parameter: DeviceParameter
- midi_channel: int
- note: int
map_midi_note_with_feedback_map()
Section titled “map_midi_note_with_feedback_map()”- midi_map_handle: int
- device_parameter: DeviceParameter
- midi_channel: int
- note: int
- feedback_rule: NoteFeedbackRule
map_midi_pitchbend()
Section titled “map_midi_pitchbend()”- midi_map_handle: int
- device_parameter: DeviceParameter
- midi_channel: int
- needs_takeover: bool
map_midi_pitchbend_with_feedback_map()
Section titled “map_midi_pitchbend_with_feedback_map()”- midi_map_handle: int
- device_parameter: DeviceParameter
- midi_channel: int
- feedback_rule: PitchBendFeedbackRule
- needs_takeover: bool
send_feedback_for_parameter()
Section titled “send_feedback_for_parameter()”- midi_map_handle: int
- device_parameter: DeviceParameter
This is an independent reference site. Not affiliated with, endorsed by, or sponsored by Ableton AG. “Ableton”, “Live”, “Push”, and related marks are trademarks of Ableton AG.