Live.DrumPad (runtime)¶
Live 12 — Live Object Model & framework reference (descriptions and signatures).
Classes¶
class DrumPad(LomObject)¶
This class represents a drum group device pad in Live.
Properties¶
_live_ptrcanonical_parent- Get the canonical parent of the drum pad.chains- Return const access to the list of chains in this drum pad.mute- Mute/unmute the pad.name- Return const access to the drum pad's name. It depends on the contained chains.note- Get the MIDI note of the drum pad.solo- Solo/unsolo the pad.
Methods¶
__init__(...)¶
Raises an exception This class cannot be instantiated from Python
add_chains_listener(...)¶
add_chains_listener( (DrumPad)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "chains" has changed.
C++ signature :
void add_chains_listener(TPyHandle<ADrumGroupDevicePad>,boost::python::api::object)
add_mute_listener(...)¶
add_mute_listener( (DrumPad)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "mute" has changed.
C++ signature :
void add_mute_listener(TPyHandle<ADrumGroupDevicePad>,boost::python::api::object)
add_name_listener(...)¶
add_name_listener( (DrumPad)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<ADrumGroupDevicePad>,boost::python::api::object)
add_solo_listener(...)¶
add_solo_listener( (DrumPad)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "solo" has changed.
C++ signature :
void add_solo_listener(TPyHandle<ADrumGroupDevicePad>,boost::python::api::object)
chains_has_listener(...)¶
chains_has_listener( (DrumPad)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "chains".
C++ signature :
bool chains_has_listener(TPyHandle<ADrumGroupDevicePad>,boost::python::api::object)
delete_all_chains(...)¶
delete_all_chains( (DrumPad)arg1) -> None : Deletes all chains associated with a drum pad. This is equivalent to deleting a drum rack pad in Live.
C++ signature :
void delete_all_chains(TPyHandle<ADrumGroupDevicePad>)
mute_has_listener(...)¶
mute_has_listener( (DrumPad)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "mute".
C++ signature :
bool mute_has_listener(TPyHandle<ADrumGroupDevicePad>,boost::python::api::object)
name_has_listener(...)¶
name_has_listener( (DrumPad)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<ADrumGroupDevicePad>,boost::python::api::object)
remove_chains_listener(...)¶
remove_chains_listener( (DrumPad)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "chains".
C++ signature :
void remove_chains_listener(TPyHandle<ADrumGroupDevicePad>,boost::python::api::object)
remove_mute_listener(...)¶
remove_mute_listener( (DrumPad)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "mute".
C++ signature :
void remove_mute_listener(TPyHandle<ADrumGroupDevicePad>,boost::python::api::object)
remove_name_listener(...)¶
remove_name_listener( (DrumPad)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "name".
C++ signature :
void remove_name_listener(TPyHandle<ADrumGroupDevicePad>,boost::python::api::object)
remove_solo_listener(...)¶
remove_solo_listener( (DrumPad)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "solo".
C++ signature :
void remove_solo_listener(TPyHandle<ADrumGroupDevicePad>,boost::python::api::object)
solo_has_listener(...)¶
solo_has_listener( (DrumPad)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "solo".
C++ signature :
bool solo_has_listener(TPyHandle<ADrumGroupDevicePad>,boost::python::api::object)