Skip to content

Application

Represents the running Live application — the entry point to the LOM, returned by the module-level get_application() function. The Application class exposes Live’s version, the browser, the control-surface registry, and the Application.View for navigating Live’s windows and panels.

This class represents the Live application. From Live’s runtime docstring.

Inherited from LomObject
canonical_parent: NoneProbed asNonehigh confidence
  • probe Application is the LOM root. It has no parent — the probe’s None observation reflects the structural shape, not an instance-specific nullability. Every other class’s canonical_parent probes as a concrete parent type; only this and Song.canonical_parent probe as None.
Section titled “canonical_parent: NoneProbed asNonehigh confidenceprobe Application is the LOM root. It has no parent — the probe’s None observation reflects the structural shape, not an instance-specific nullability. Every other class’s canonical_parent probes as a concrete parent type; only this and Song.canonical_parent probe as None.”

Returns the canonical parent of the application. From Live’s runtime docstring.

Reports Live’s average CPU load. From Live’s runtime docstring.

Returns an interface to the browser. From Live’s runtime docstring.

Const access to a list of the control surfaces selected in preferences, in the same order. The list contains None if no control surface is active at that index. From Live’s runtime docstring.

Number of buttons on the current dialog. From Live’s runtime docstring.

Text of the last dialog that appeared; Empty if all dialogs just disappeared. From Live’s runtime docstring.

Returns the number of connected Push apps. From Live’s runtime docstring.

The number of open dialogs in Live. 0 if not dialog is open. From Live’s runtime docstring.

Reports Live’s peak CPU load. From Live’s runtime docstring.

List of features that are unavailable due to limitations of the current Live edition. From Live’s runtime docstring.

Returns the applications view component. From Live’s runtime docstring.

Returns
int

Returns an integer representing the bugfix version of Live. From Live’s runtime docstring.

Returns
str

Returns a string identifying the build. From Live’s runtime docstring.

Returns

Returns the current Live Set. From Live’s runtime docstring.

Returns
int

Returns an integer representing the major version of Live. From Live’s runtime docstring.

Returns
int

Returns an integer representing the minor version of Live. From Live’s runtime docstring.

Returns
str

Returns one of the strings in Live.Application.Variants. From Live’s runtime docstring.

Returns
str

Returns the full version string of Live. From Live’s runtime docstring.

  • option_name: str
Returns
bool

Returns True if the given entry exists in Options.txt, False otherwise. From Live’s runtime docstring.

  • index: int

Press a button, by index, on the current message box. From Live’s runtime docstring.

  • text: Text
  • buttons: MessageButtons | int = MessageButtons.OK_BUTTON
  • enable_markup: bool = False
  • show_success_icon: bool = False
Returns
int

Shows a message box, returning the position of the pressed button. From Live’s runtime docstring.

  • message: str
  • buttons: MessageButtons | int = MessageButtons.OK_BUTTON
  • enable_markup: bool = False
  • show_success_icon: bool = False
  • push_dialog_type: PushDialogType | int = PushDialogType.MESSAGE_BOX
Returns
int

Same as show_message, but for when there is no predefined Text object. From Live’s runtime docstring.

  • Application.View — This class represents the view aspects of the Live application.

Describes a control present in a control surface proxy From Live’s runtime docstring.

A container for returning control descriptions. From Live’s runtime docstring.

Returned by 1 member elsewhere in the LOM

Represents a control surface running in a different process. For use by M4L From Live’s runtime docstring.

control_descriptions: ControlDescriptionVectorhigh confidence
  • probe couldn’t reach this class — ControlSurfaceProxy is M4L-only.
  • corpus _MxDCore/ControlSurfaceWrapper.py:238 iterates c.name for c in self._proxy.control_descriptions — confirms it’s a container of ControlDescription objects (each with a .name property).
  • schema ControlDescriptionVector exists in the parsed tree with element_repr fixed below to ControlDescription.
Section titled “control_descriptions: ControlDescriptionVectorhigh confidenceprobe couldn’t reach this class — ControlSurfaceProxy is M4L-only.corpus _MxDCore/ControlSurfaceWrapper.py:238 iterates c.name for c in self._proxy.control_descriptions — confirms it’s a container of ControlDescription objects (each with a .name property).schema ControlDescriptionVector exists in the parsed tree with element_repr fixed below to ControlDescription.”
pad_layout: strhigh confidence
  • M4L external/max-for-live-docs/9.0/controlsurface.md:18: pad_layout symbol read-only observesymbol is M4L parlance for a string (string-valued layout names like ‘session’, ‘note.drums.64_pads’).
  • docstring “The layout of pads on Push.”
Section titled “pad_layout: strhigh confidenceM4L external/max-for-live-docs/9.0/controlsurface.md:18: pad_layout symbol read-only observe — symbol is M4L parlance for a string (string-valued layout names like ‘session’, ‘note.drums.64_pads’).docstring “The layout of pads on Push.””

The layout of pads on Push. From Live’s runtime docstring.

type_name: strmedium confidence
  • corpus no raw_doc, no M4L doc entry; binding access at _MxDCore/ControlSurfaceWrapper.py:234 returns self._proxy.type_name from a wrapper property and uses the value in tuple/string contexts. str is the strongest reading — promote via probe.
Section titled “type_name: strmedium confidencecorpus no raw_doc, no M4L doc entry; binding access at _MxDCore/ControlSurfaceWrapper.py:234 returns self._proxy.type_name from a wrapper property and uses the value in tuple/string contexts. str is the strongest reading — promote via probe.”
add_control_values_arrived_listener · remove_control_values_arrived_listener · control_values_arrived_has_listener

Fires when control values arrive from the connected hardware after a subscribe_to_control registration. Notification only — read the values via fetch_received_values after the callback.

add_midi_received_listener · remove_midi_received_listener · midi_received_has_listener

Fires when MIDI input arrives at the control surface proxy after enable_receive_midi(True). Notification only — read the messages via fetch_received_midi_messages.

  • enabled: bool
Returns
tuple[tuple[int, …], …]Probed astuplemedium confidence
  • docstring -> tuple confirms the outer return is a tuple.
  • corpus _MxDCore/ControlSurfaceWrapper.py:251 iterates for message in self._proxy.fetch_received_midi_messages(): and passes each message to handle_message(message). The corpus doesn’t unpack the inner tuple, so the inner shape tuple[int, ...] is inferred from MIDI semantics (MIDI messages are tuples of status + data bytes, all ints).
Returns
tuple[tuple[int, Any], …]Probed astuplehigh confidence
  • docstring -> tuple confirms the outer return is a tuple.
  • corpus _MxDCore/ControlSurfaceWrapper.py:244 explicitly unpacks the inner 2-tuple: for control_id, value in self._proxy.fetch_received_values():. The first element is then used as a dict key (self._control_proxies_by_id[control_id]) confirming int; the second element is passed to receive_value(value) — value type depends on control, so Any.
  • control_id: int
  • control_id: int
  • midi_event_bytes: tuple[int, …]Probed astuplehigh confidence
    • C++ signature void send_midi(APythonControlSurfaceProxy {lvalue}, boost::python::tuple) — the binding takes an untyped tuple at the C++ level.
    • schema narrowed to tuple[int, ...] per function semantics — MIDI bytes are 0–255 ints by definition.
    • corpus binding calls pass int tuples: FaderfoxScript.py:111 (self.c_instance.send_midi(midi_event_bytes)), Axiom_49_61_Classic/Axiom.py:70 (self._Axiom__c_instance.send_midi(midi_event_bytes)); wrapper composers also produce int tuples (LV2_LX2_LC2_LD2/LV2TransportController.py:69-71 (NOTEON_STATUS + channel, note, 127), LV2_LX2_LC2_LD2/FaderfoxMixerController.py:142 (175, 16, 16)).
  • value: tuple[Any, …]Probed astuplehigh confidence
    • C++ signature void send_value(APythonControlSurfaceProxy {lvalue}, boost::python::tuple) — the binding strictly accepts a tuple.
    • schema tuple[Any, ...] matches the untyped Boost.Python tuple — the binding itself doesn’t constrain element type at the C++ level.
    • corpus calls like interface.send_value(0) or button.send_value(value) don’t contradict this — those go to Python wrappers (SysexElement.send_value at sysex_element.py:25, InputControlElement.send_value at InputControlElement.py:324) which compose a tuple internally before the binding call. Zero direct Live.Application.ControlSurfaceProxy.send_value callsites exist in the corpus.
  • control_id: int
  • control_id: int

A container for returning unavailable features. From Live’s runtime docstring.

Returned by 1 member elsewhere in the LOM

Holds strings representing what type of Live is running. From Live’s runtime docstring.

This class represents the view aspects of the Live application. From Live’s runtime docstring.

Inherited from LomObject

Get the canonical parent of the application view. From Live’s runtime docstring.

Return true if HotSwap mode is active for any target. From Live’s runtime docstring.

Return the name of the document view (‘Session’ or ‘Arranger’) shown in the currently selected window. From Live’s runtime docstring.

add_view_focus_changed_listener · remove_view_focus_changed_listener · view_focus_changed_has_listener

Fires when the focused view changes (Session/Arrangement switch, popup open/close, primary/secondary window focus shifts). Programmatic triggers include focus_view, show_view, hide_view, and toggle_browse; user interaction with Live’s UI also fires it.

Return a list of strings with the available subcomponent views, which is to be specified, when using the rest of this classes functions. A ‘subcomponent view’ is a main view component of a document view, like the Session view, the Arranger or Detailview and so on… From Live’s runtime docstring.

  • view: str

Show and focus one through the identifier string specified view. From Live’s runtime docstring.

  • view_name: str

Hide one through the identifier string specified view. From Live’s runtime docstring.

  • view_name: str
  • main_window_only: bool = True
Returns
bool

Returns whether the view named by view_name is currently visible. With main_window_only=False, also checks the second window — note that notifications from the second window are not yet supported.

Parameterized observable — the LOM’s only one (as of 12.3.6). Read by calling is_view_visible(view_name). Subscribe via the matching listener triplet, which takes view_name as its first parameter:

add_is_view_visible_listener(view_name, callback)
remove_is_view_visible_listener(view_name, callback)
is_view_visible_has_listener(view_name, callback)
Runtime docstringReturn true if the through the identifier string specified view is currently
visible. If main_window_only is set to False, this will also check in second
window. Notifications from the second window are not yet supported.
  • direction: NavDirection | intProbed asinthigh confidence
    • docstring “into the given direction”.
    • schema Application.View nests a single enum (NavDirection) with members up/down/left/right — direct semantic match. Boost.Python emits the enum class as an int subclass, hence NavDirection | int (standard enum-widening pattern).
  • view_name: str
  • modifier_pressed: bool

Scroll through the identifier string specified view into the given direction, if possible. Will silently return if the specified view can not perform the requested action. From Live’s runtime docstring.

  • view: str

Show one through the identifier string specified view. Will throw a runtime error if this is called in Live’s initialization scope. From Live’s runtime docstring.

Reveals the device chain, the browser and starts hot swap for the selected device. Calling this function again stops hot swap. From Live’s runtime docstring.

  • direction: NavDirection | intProbed asinthigh confidence
    • docstring “into the given direction”.
    • schema Application.View nests a single enum (NavDirection) with members up/down/left/right — direct semantic match. Boost.Python emits the enum class as an int subclass, hence NavDirection | int (standard enum-widening pattern).
  • view_name: str
  • modifier_pressed: bool

Zoom through the identifier string specified view into the given direction, if possible. Will silently return if the specified view can not perform the requested action. From Live’s runtime docstring.

Returned by 1 member elsewhere in the LOM

Specifies the characteristics of the message box, e.g. which buttons to show. From Live’s runtime docstring.

OK_BUTTON0
OK_NEW_SET_BUTTON1
OK_RETRY_BUTTON2
SAVE_DONT_SAVE_BUTTON3
OK_ACCOUNT_BUTTON4
OK_PURCHASE_BUTTON5

Specifies the dialog type for Push. From Live’s runtime docstring.

MESSAGE_BOX0
OUT_OF_UNLOCKS_DIALOG5
RENT_TO_OWN_LICENSE_EXPIRED_DIALOG7
note_velocity_ranges_and_probabilities0
up0
down1
left2
right3
Returns
bool

Returns true if multiple APCs should be combined. From Live’s runtime docstring.

  • dongle1: int
  • dongle2: int
  • key_index: int = 0
Returns
tuple[int, …]Probed astuplehigh confidence
  • corpus Push/handshake_component.py:53 wraps it for encryption; _APC/APC.py:79 compares the return to a dongle challenge tuple.
  • docstring baseline Application.md:38 lists it as a module-level static.

Returns an encrypted challenge based on the TEA algortithm From Live’s runtime docstring.

  • challenge: int
Returns
int

Returns the UMAC hash for the given challenge. From Live’s runtime docstring.

Returns the application instance. From Live’s runtime docstring.

  • min_value: int
  • max_value: int
Returns
int

Returns a random integer from the given range. From Live’s runtime docstring.

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.