Skip to content

Live.MaxDevice (runtime)

Live 9, Live Object Model & framework reference (descriptions and signatures).

Live Object Model, from the Live 9 API XML documentation.

Classes

class MaxDevice

This class represents a Max for Live device.

Properties

  • _live_ptr
  • can_have_chains - Returns true if the device is a rack.
  • can_have_drum_pads - Returns true if the device is a drum rack.
  • canonical_parent - Get the canonical parent of the Device.
  • class_display_name - Return const access to the name of the device's class name as displayed in Live's browser and device chain
  • class_name - Return const access to the name of the device's class.
  • is_active - Return const access to whether this device is active. This will be false bothwhen the device is off and when it's inside a rack device which is off.
  • name - Return access to the name of the device.
  • parameters - Const access to the list of available automatable parameters for this device.
  • type - Return the type of the device.
  • view - Representing the view aspects of a device.

Methods

_get_parameters(arg1)
add_is_active_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "is_active" has changed.

add_name_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "name" has changed.

add_parameters_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "parameters" has changed.

get_bank_count(arg1)

Get the number of parameter banks. This is related to hardware control surfaces.

get_bank_name(arg1,arg2)

Get the name of a parameter bank given by index. This is related to hardware control surfaces.

get_bank_parameters(arg1,arg2)

Get the indices of parameters of the given bank index. Empty slots are marked as -1. Bank index -1 refers to the best-of bank. This function is related to hardware control surfaces.

is_active_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "is_active".

name_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "name".

parameters_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "parameters".

remove_is_active_listener(arg1,arg2)

Remove a previously set listener function or method from property "is_active".

remove_name_listener(arg1,arg2)

Remove a previously set listener function or method from property "name".

remove_parameters_listener(arg1,arg2)

Remove a previously set listener function or method from property "parameters".

store_chosen_bank(arg1,arg2,arg3)

Set the selected bank in the device for persistency.

class MaxDevice.View

Representing the view aspects of a device.

Properties

  • _live_ptr
  • canonical_parent - Get the canonical parent of the View.
  • is_collapsed - Get/Set/Listen if the device is shown collapsed in the device chain.

Methods

add_is_collapsed_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "is_collapsed" has changed.

is_collapsed_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "is_collapsed".

remove_is_collapsed_listener(arg1,arg2)

Remove a previously set listener function or method from property "is_collapsed".