Live.Eq8Device (runtime)¶
Live 12 — Live Object Model & framework reference (descriptions and signatures).
Classes¶
class EditMode(enum)¶
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
as_integer_ratio(self, /)¶
Return integer ratio.
Return a pair of integers, whose ratio is exactly equal to the original int and with a positive denominator.
(10).as_integer_ratio() (10, 1) (-10).as_integer_ratio() (-10, 1) (0).as_integer_ratio() (0, 1)
bit_count(self, /)¶
Number of ones in the binary representation of the absolute value of self.
Also known as the population count.
bin(13) '0b1101' (13).bit_count() 3
bit_length(self, /)¶
Number of bits necessary to represent self in binary.
bin(37) '0b100101' (37).bit_length() 6
conjugate(...)¶
Returns self, the complex conjugate of any int.
from_bytes(bytes, byteorder='big', *, signed=False)¶
Return the integer represented by the given array of bytes.
bytes Holds the array of bytes to convert. The argument must either support the buffer protocol or be an iterable object producing bytes. Bytes and bytearray are examples of built-in objects that support the buffer protocol. byteorder The byte order used to represent the integer. If byteorder is 'big', the most significant byte is at the beginning of the byte array. If byteorder is 'little', the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder' as the byte order value. Default is to use 'big'. signed Indicates whether two's complement is used to represent the integer.
to_bytes(self, /, length=1, byteorder='big', *, signed=False)¶
Return an array of bytes representing an integer.
length Length of bytes object to use. An OverflowError is raised if the integer is not representable with the given number of bytes. Default is length 1. byteorder The byte order used to represent the integer. If byteorder is 'big', the most significant byte is at the beginning of the byte array. If byteorder is 'little', the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder' as the byte order value. Default is to use 'big'. signed Determines whether two's complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
Attributes¶
a=Eq8Device.EditMode.ab=Eq8Device.EditMode.bdenominator=<attribute 'denominator' of 'int' objects>- the denominator of a rational number in lowest termsimag=<attribute 'imag' of 'int' objects>- the imaginary part of a complex numbername=<member 'name' of 'Boost.Python.enum' objects>names={'a': Eq8Device.EditMode.a, 'b': Eq8Device.EditMode.b}- dict() -> new empty dictionarynumerator=<attribute 'numerator' of 'int' objects>- the numerator of a rational number in lowest termsreal=<attribute 'real' of 'int' objects>- the real part of a complex numbervalues={0: Eq8Device.EditMode.a, 1: Eq8Device.EditMode.b}- dict() -> new empty dictionary
class Eq8Device(Device)¶
This class represents an Eq8 device.
Properties¶
_live_ptrcan_compare_ab- Returns true if the Device has the capability to AB compare.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.edit_mode- Access to Eq8's edit mode.global_mode- Access to Eq8's global mode.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.is_using_compare_preset_b- Returns whether the Device has loaded the preset in compare slot B. Only relevant if can_compare_ab, otherwise errors.latency_in_ms- Returns the latency of the device in ms.latency_in_samples- Returns the latency of the device in samples.name- Return access to the name of the device.oversample- Access to Eq8's oversample value.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 an Eq8 device.
__init__(...)¶
Raises an exception This class cannot be instantiated from Python
add_edit_mode_listener(...)¶
add_edit_mode_listener( (Eq8Device)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "edit_mode" has changed.
C++ signature :
void add_edit_mode_listener(TEq8DevicePyHandle,boost::python::api::object)
add_global_mode_listener(...)¶
add_global_mode_listener( (Eq8Device)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "global_mode" has changed.
C++ signature :
void add_global_mode_listener(TEq8DevicePyHandle,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_is_using_compare_preset_b_listener(...)¶
add_is_using_compare_preset_b_listener( (Device)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "is_using_compare_preset_b" has changed.
C++ signature :
void add_is_using_compare_preset_b_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_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_oversample_listener(...)¶
add_oversample_listener( (Eq8Device)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "oversample" has changed.
C++ signature :
void add_oversample_listener(TEq8DevicePyHandle,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)
edit_mode_has_listener(...)¶
edit_mode_has_listener( (Eq8Device)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "edit_mode".
C++ signature :
bool edit_mode_has_listener(TEq8DevicePyHandle,boost::python::api::object)
global_mode_has_listener(...)¶
global_mode_has_listener( (Eq8Device)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "global_mode".
C++ signature :
bool global_mode_has_listener(TEq8DevicePyHandle,boost::python::api::object)
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)
is_using_compare_preset_b_has_listener(...)¶
is_using_compare_preset_b_has_listener( (Device)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "is_using_compare_preset_b".
C++ signature :
bool is_using_compare_preset_b_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)
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)
oversample_has_listener(...)¶
oversample_has_listener( (Eq8Device)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "oversample".
C++ signature :
bool oversample_has_listener(TEq8DevicePyHandle,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_edit_mode_listener(...)¶
remove_edit_mode_listener( (Eq8Device)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "edit_mode".
C++ signature :
void remove_edit_mode_listener(TEq8DevicePyHandle,boost::python::api::object)
remove_global_mode_listener(...)¶
remove_global_mode_listener( (Eq8Device)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "global_mode".
C++ signature :
void remove_global_mode_listener(TEq8DevicePyHandle,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_is_using_compare_preset_b_listener(...)¶
remove_is_using_compare_preset_b_listener( (Device)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "is_using_compare_preset_b".
C++ signature :
void remove_is_using_compare_preset_b_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_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_oversample_listener(...)¶
remove_oversample_listener( (Eq8Device)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "oversample".
C++ signature :
void remove_oversample_listener(TEq8DevicePyHandle,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)
save_preset_to_compare_ab_slot(...)¶
save_preset_to_compare_ab_slot( (Device)arg1) -> None : Saves the current state of the device to the compare AB slot. Only relevant if can_compare_ab, otherwise throws.
C++ signature :
void save_preset_to_compare_ab_slot(TPyHandle<ADevice>)
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)
class GlobalMode(enum)¶
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
Methods¶
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
as_integer_ratio(self, /)¶
Return integer ratio.
Return a pair of integers, whose ratio is exactly equal to the original int and with a positive denominator.
(10).as_integer_ratio() (10, 1) (-10).as_integer_ratio() (-10, 1) (0).as_integer_ratio() (0, 1)
bit_count(self, /)¶
Number of ones in the binary representation of the absolute value of self.
Also known as the population count.
bin(13) '0b1101' (13).bit_count() 3
bit_length(self, /)¶
Number of bits necessary to represent self in binary.
bin(37) '0b100101' (37).bit_length() 6
conjugate(...)¶
Returns self, the complex conjugate of any int.
from_bytes(bytes, byteorder='big', *, signed=False)¶
Return the integer represented by the given array of bytes.
bytes Holds the array of bytes to convert. The argument must either support the buffer protocol or be an iterable object producing bytes. Bytes and bytearray are examples of built-in objects that support the buffer protocol. byteorder The byte order used to represent the integer. If byteorder is 'big', the most significant byte is at the beginning of the byte array. If byteorder is 'little', the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder' as the byte order value. Default is to use 'big'. signed Indicates whether two's complement is used to represent the integer.
to_bytes(self, /, length=1, byteorder='big', *, signed=False)¶
Return an array of bytes representing an integer.
length Length of bytes object to use. An OverflowError is raised if the integer is not representable with the given number of bytes. Default is length 1. byteorder The byte order used to represent the integer. If byteorder is 'big', the most significant byte is at the beginning of the byte array. If byteorder is 'little', the most significant byte is at the end of the byte array. To request the native byte order of the host system, use `sys.byteorder' as the byte order value. Default is to use 'big'. signed Determines whether two's complement is used to represent the integer. If signed is False and a negative integer is given, an OverflowError is raised.
Attributes¶
denominator=<attribute 'denominator' of 'int' objects>- the denominator of a rational number in lowest termsimag=<attribute 'imag' of 'int' objects>- the imaginary part of a complex numberleft_right=Eq8Device.GlobalMode.left_rightmid_side=Eq8Device.GlobalMode.mid_sidename=<member 'name' of 'Boost.Python.enum' objects>names={'stereo': Eq8Device.GlobalMode.stereo, 'left_right': Eq8Device.GlobalMode.left_right, 'mid_side': Eq8Device.GlobalMode.mid_side}- dict() -> new empty dictionarynumerator=<attribute 'numerator' of 'int' objects>- the numerator of a rational number in lowest termsreal=<attribute 'real' of 'int' objects>- the real part of a complex numberstereo=Eq8Device.GlobalMode.stereovalues={0: Eq8Device.GlobalMode.stereo, 1: Eq8Device.GlobalMode.left_right, 2: Eq8Device.GlobalMode.mid_side}- dict() -> new empty dictionary