Live.MaxDevice (runtime)¶
Live 11 — Live Object Model & framework reference (descriptions and signatures).
Classes¶
class MaxDevice(Device)¶
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.latency_in_ms- Returns the latency of the device in ms.latency_in_samples- Returns the latency of the device in samples.midi_inputs- Const access to a list of all midi outputs of the device.midi_outputs- Const access to a list of all midi outputs of the device.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¶
View(...)¶
Representing the view aspects of a device.
__init__(...)¶
Raises an exception This class cannot be instantiated from Python
add_audio_inputs_listener(...)¶
add_audio_inputs_listener( (MaxDevice)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "audio_inputs" has changed.
C++ signature :
void add_audio_inputs_listener(TMaxDevicePyHandle,boost::python::api::object)
add_audio_outputs_listener(...)¶
add_audio_outputs_listener( (MaxDevice)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "audio_outputs" has changed.
C++ signature :
void add_audio_outputs_listener(TMaxDevicePyHandle,boost::python::api::object)
add_bank_parameters_changed_listener(...)¶
add_bank_parameters_changed_listener( (MaxDevice)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "bank_parameters_changed" has changed.
C++ signature :
void add_bank_parameters_changed_listener(TMaxDevicePyHandle,boost::python::api::object)
add_is_active_listener(...)¶
add_is_active_listener( (Device)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "is_active" has changed.
C++ signature :
void add_is_active_listener(TPyHandle<ADevice>,boost::python::api::object)
add_latency_in_ms_listener(...)¶
add_latency_in_ms_listener( (Device)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "latency_in_ms" has changed.
C++ signature :
void add_latency_in_ms_listener(TPyHandle<ADevice>,boost::python::api::object)
add_latency_in_samples_listener(...)¶
add_latency_in_samples_listener( (Device)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "latency_in_samples" has changed.
C++ signature :
void add_latency_in_samples_listener(TPyHandle<ADevice>,boost::python::api::object)
add_midi_inputs_listener(...)¶
add_midi_inputs_listener( (MaxDevice)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "midi_inputs" has changed.
C++ signature :
void add_midi_inputs_listener(TMaxDevicePyHandle,boost::python::api::object)
add_midi_outputs_listener(...)¶
add_midi_outputs_listener( (MaxDevice)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "midi_outputs" has changed.
C++ signature :
void add_midi_outputs_listener(TMaxDevicePyHandle,boost::python::api::object)
add_name_listener(...)¶
add_name_listener( (Device)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "name" has changed.
C++ signature :
void add_name_listener(TPyHandle<ADevice>,boost::python::api::object)
add_parameters_listener(...)¶
add_parameters_listener( (Device)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "parameters" has changed.
C++ signature :
void add_parameters_listener(TPyHandle<ADevice>,boost::python::api::object)
audio_inputs_has_listener(...)¶
audio_inputs_has_listener( (MaxDevice)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "audio_inputs".
C++ signature :
bool audio_inputs_has_listener(TMaxDevicePyHandle,boost::python::api::object)
audio_outputs_has_listener(...)¶
audio_outputs_has_listener( (MaxDevice)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "audio_outputs".
C++ signature :
bool audio_outputs_has_listener(TMaxDevicePyHandle,boost::python::api::object)
bank_parameters_changed_has_listener(...)¶
bank_parameters_changed_has_listener( (MaxDevice)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "bank_parameters_changed".
C++ signature :
bool bank_parameters_changed_has_listener(TMaxDevicePyHandle,boost::python::api::object)
get_bank_count(...)¶
get_bank_count( (MaxDevice)arg1) -> int : Get the number of parameter banks. This is related to hardware control surfaces.
C++ signature :
int get_bank_count(TMaxDevicePyHandle)
get_bank_name(...)¶
get_bank_name( (MaxDevice)arg1, (int)arg2) -> str : Get the name of a parameter bank given by index. This is related to hardware control surfaces.
C++ signature :
TString get_bank_name(TMaxDevicePyHandle,int)
get_bank_parameters(...)¶
get_bank_parameters( (MaxDevice)arg1, (int)arg2) -> list : 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.
C++ signature :
boost::python::list get_bank_parameters(TMaxDevicePyHandle,int)
get_value_item_icons(...)¶
get_value_item_icons( (MaxDevice)arg1, (DeviceParameter)arg2) -> list : 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.
C++ signature :
boost::python::list get_value_item_icons(TMaxDevicePyHandle,TPyHandle<ATimeableValue>)
is_active_has_listener(...)¶
is_active_has_listener( (Device)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "is_active".
C++ signature :
bool is_active_has_listener(TPyHandle<ADevice>,boost::python::api::object)
latency_in_ms_has_listener(...)¶
latency_in_ms_has_listener( (Device)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "latency_in_ms".
C++ signature :
bool latency_in_ms_has_listener(TPyHandle<ADevice>,boost::python::api::object)
latency_in_samples_has_listener(...)¶
latency_in_samples_has_listener( (Device)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "latency_in_samples".
C++ signature :
bool latency_in_samples_has_listener(TPyHandle<ADevice>,boost::python::api::object)
midi_inputs_has_listener(...)¶
midi_inputs_has_listener( (MaxDevice)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "midi_inputs".
C++ signature :
bool midi_inputs_has_listener(TMaxDevicePyHandle,boost::python::api::object)
midi_outputs_has_listener(...)¶
midi_outputs_has_listener( (MaxDevice)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "midi_outputs".
C++ signature :
bool midi_outputs_has_listener(TMaxDevicePyHandle,boost::python::api::object)
name_has_listener(...)¶
name_has_listener( (Device)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "name".
C++ signature :
bool name_has_listener(TPyHandle<ADevice>,boost::python::api::object)
parameters_has_listener(...)¶
parameters_has_listener( (Device)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "parameters".
C++ signature :
bool parameters_has_listener(TPyHandle<ADevice>,boost::python::api::object)
remove_audio_inputs_listener(...)¶
remove_audio_inputs_listener( (MaxDevice)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "audio_inputs".
C++ signature :
void remove_audio_inputs_listener(TMaxDevicePyHandle,boost::python::api::object)
remove_audio_outputs_listener(...)¶
remove_audio_outputs_listener( (MaxDevice)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "audio_outputs".
C++ signature :
void remove_audio_outputs_listener(TMaxDevicePyHandle,boost::python::api::object)
remove_bank_parameters_changed_listener(...)¶
remove_bank_parameters_changed_listener( (MaxDevice)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "bank_parameters_changed".
C++ signature :
void remove_bank_parameters_changed_listener(TMaxDevicePyHandle,boost::python::api::object)
remove_is_active_listener(...)¶
remove_is_active_listener( (Device)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "is_active".
C++ signature :
void remove_is_active_listener(TPyHandle<ADevice>,boost::python::api::object)
remove_latency_in_ms_listener(...)¶
remove_latency_in_ms_listener( (Device)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "latency_in_ms".
C++ signature :
void remove_latency_in_ms_listener(TPyHandle<ADevice>,boost::python::api::object)
remove_latency_in_samples_listener(...)¶
remove_latency_in_samples_listener( (Device)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "latency_in_samples".
C++ signature :
void remove_latency_in_samples_listener(TPyHandle<ADevice>,boost::python::api::object)
remove_midi_inputs_listener(...)¶
remove_midi_inputs_listener( (MaxDevice)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "midi_inputs".
C++ signature :
void remove_midi_inputs_listener(TMaxDevicePyHandle,boost::python::api::object)
remove_midi_outputs_listener(...)¶
remove_midi_outputs_listener( (MaxDevice)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "midi_outputs".
C++ signature :
void remove_midi_outputs_listener(TMaxDevicePyHandle,boost::python::api::object)
remove_name_listener(...)¶
remove_name_listener( (Device)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "name".
C++ signature :
void remove_name_listener(TPyHandle<ADevice>,boost::python::api::object)
remove_parameters_listener(...)¶
remove_parameters_listener( (Device)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "parameters".
C++ signature :
void remove_parameters_listener(TPyHandle<ADevice>,boost::python::api::object)
store_chosen_bank(...)¶
store_chosen_bank( (Device)arg1, (int)arg2, (int)arg3) -> None : Set the selected bank in the device for persistency.
C++ signature :
void store_chosen_bank(TPyHandle<ADevice>,int,int)