Live.MaxDevice (runtime)¶
Live 10, Live Object Model & framework reference (descriptions and signatures).
Live Object Model, from the Live 10 API XML documentation.
Classes¶
class MaxDevice¶
This class represents a Max for Live device.
Properties¶
_live_ptraudio_inputs- Const access to a list of all audio inputs of the device.audio_outputs- Const access to a list of all audio outputs of the device.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 chainclass_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¶
add_audio_inputs_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "audio_inputs" has changed.
add_audio_outputs_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "audio_outputs" has changed.
add_bank_parameters_changed_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "bank_parameters_changed" has changed.
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.
audio_inputs_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "audio_inputs".
audio_outputs_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "audio_outputs".
bank_parameters_changed_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "bank_parameters_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.
get_value_item_icons(arg1,arg2)¶
Get a list of icon identifier strings for a list parameter's values.An empty string is given where no icon should be displayed.An empty list is given when no icons should be displayed.This 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_audio_inputs_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "audio_inputs".
remove_audio_outputs_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "audio_outputs".
remove_bank_parameters_changed_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "bank_parameters_changed".
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_ptrcanonical_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".