Skip to content

Live.LooperDevice (runtime)

Live 12 — Live Object Model & framework reference (descriptions and signatures).

Classes

class LooperDevice(Device)

This class represents a Looper device.

Properties

  • _live_ptr
  • can_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 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.
  • 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.
  • loop_length - The length of Looper's buffer.
  • name - Return access to the name of the device.
  • overdub_after_record - If true, Looper will switch to overdub after recording, when recording a fixed number of bars. Otherwise, the switch will be to playback without overdubbing.
  • parameters - Const access to the list of available automatable parameters for this device.
  • record_length_index - Access to the Record Length chooser entry index.
  • record_length_list - Read-only access to the list of Record Length chooser entry strings.
  • tempo - The tempo of Looper's buffer.
  • 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_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_loop_length_listener(...)

add_loop_length_listener( (LooperDevice)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "loop_length" has changed.

C++ signature :
    void add_loop_length_listener(TLooperDevicePyHandle,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_overdub_after_record_listener(...)

add_overdub_after_record_listener( (LooperDevice)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "overdub_after_record" has changed.

C++ signature :
    void add_overdub_after_record_listener(TLooperDevicePyHandle,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)
add_record_length_index_listener(...)

add_record_length_index_listener( (LooperDevice)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "record_length_index" has changed.

C++ signature :
    void add_record_length_index_listener(TLooperDevicePyHandle,boost::python::api::object)
add_tempo_listener(...)

add_tempo_listener( (LooperDevice)arg1, (object)arg2) -> None : Add a listener function or method, which will be called as soon as the property "tempo" has changed.

C++ signature :
    void add_tempo_listener(TLooperDevicePyHandle,boost::python::api::object)
clear(...)

clear( (LooperDevice)arg1) -> None : Erase Looper's recorded content.

C++ signature :
    void clear(TLooperDevicePyHandle)
double_length(...)

double_length( (LooperDevice)arg1) -> None : Double the length of Looper's buffer.

C++ signature :
    void double_length(TLooperDevicePyHandle)
double_speed(...)

double_speed( (LooperDevice)arg1) -> None : Double the speed of Looper's playback.

C++ signature :
    void double_speed(TLooperDevicePyHandle)
export_to_clip_slot(...)

export_to_clip_slot( (LooperDevice)arg1, (ClipSlot)arg2) -> None : Export Looper's content to a Session Clip Slot.

C++ signature :
    void export_to_clip_slot(TLooperDevicePyHandle,TPyHandle<AGroupAndClipSlotBase>)
half_length(...)

half_length( (LooperDevice)arg1) -> None : Halve the length of Looper's buffer.

C++ signature :
    void half_length(TLooperDevicePyHandle)
half_speed(...)

half_speed( (LooperDevice)arg1) -> None : Halve the speed of Looper's playback.

C++ signature :
    void half_speed(TLooperDevicePyHandle)
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)
loop_length_has_listener(...)

loop_length_has_listener( (LooperDevice)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "loop_length".

C++ signature :
    bool loop_length_has_listener(TLooperDevicePyHandle,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)
overdub(...)

overdub( (LooperDevice)arg1) -> None : Play back while adding additional layers of incoming audio.

C++ signature :
    void overdub(TLooperDevicePyHandle)
overdub_after_record_has_listener(...)

overdub_after_record_has_listener( (LooperDevice)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "overdub_after_record".

C++ signature :
    bool overdub_after_record_has_listener(TLooperDevicePyHandle,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)
play(...)

play( (LooperDevice)arg1) -> None : Play back without overdubbing.

C++ signature :
    void play(TLooperDevicePyHandle)
record(...)

record( (LooperDevice)arg1) -> None : Record incoming audio.

C++ signature :
    void record(TLooperDevicePyHandle)
record_length_index_has_listener(...)

record_length_index_has_listener( (LooperDevice)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "record_length_index".

C++ signature :
    bool record_length_index_has_listener(TLooperDevicePyHandle,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_loop_length_listener(...)

remove_loop_length_listener( (LooperDevice)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "loop_length".

C++ signature :
    void remove_loop_length_listener(TLooperDevicePyHandle,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_overdub_after_record_listener(...)

remove_overdub_after_record_listener( (LooperDevice)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "overdub_after_record".

C++ signature :
    void remove_overdub_after_record_listener(TLooperDevicePyHandle,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)
remove_record_length_index_listener(...)

remove_record_length_index_listener( (LooperDevice)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "record_length_index".

C++ signature :
    void remove_record_length_index_listener(TLooperDevicePyHandle,boost::python::api::object)
remove_tempo_listener(...)

remove_tempo_listener( (LooperDevice)arg1, (object)arg2) -> None : Remove a previously set listener function or method from property "tempo".

C++ signature :
    void remove_tempo_listener(TLooperDevicePyHandle,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>)
stop(...)

stop( (LooperDevice)arg1) -> None : Stop Looper's playback.

C++ signature :
    void stop(TLooperDevicePyHandle)
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)
tempo_has_listener(...)

tempo_has_listener( (LooperDevice)arg1, (object)arg2) -> bool : Returns true, if the given listener function or method is connected to the property "tempo".

C++ signature :
    bool tempo_has_listener(TLooperDevicePyHandle,boost::python::api::object)
undo(...)

undo( (LooperDevice)arg1) -> None : Erase everything that was recorded since the last time Overdub was enabled. Calling a second time will restore the material erased by the previous undooperation.

C++ signature :
    void undo(TLooperDevicePyHandle)