Skip to content

Live.SimplerDevice (runtime)

Live 10, Live Object Model & framework reference (descriptions and signatures).

Live Object Model, from the Live 10 API XML documentation.

Functions

get_available_voice_numbers()

Get a vector of valid Simpler voice numbers.

Classes

class PlaybackMode

class SimplerDevice

This class represents a Simpler device.

Properties

  • _live_ptr
  • can_have_chains - Returns true if the device is a rack.
  • can_have_drum_pads - Returns true if the device is a drum rack.
  • can_warp_as - Returns true if warp_as is available.
  • can_warp_double - Returns true if warp_double is available.
  • can_warp_half - Returns true if warp_half is available.
  • 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.
  • multi_sample_mode - Returns whether Simpler is in mulit-sample mode.
  • name - Return access to the name of the device.
  • pad_slicing - When set to true, slices can be added in slicing mode by playing notes .that are not assigned to slices, yet.
  • parameters - Const access to the list of available automatable parameters for this device.
  • playback_mode - Access to Simpler's playback mode.
  • playing_position - Constant access to the current playing position in the sample.The returned value is the normalized position between sample start and end.
  • playing_position_enabled - Returns whether Simpler is showing the playing position.The returned value is True while the sample is played back
  • retrigger - Access to Simpler's retrigger mode.
  • sample - Get the loaded Sample.
  • slicing_playback_mode - Access to Simpler's slicing playback mode.
  • type - Return the type of the device.
  • view - Representing the view aspects of a device.
  • voices - Access to the number of voices in Simpler.

Methods

add_can_warp_as_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "can_warp_as" has changed.

add_can_warp_double_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "can_warp_double" has changed.

add_can_warp_half_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "can_warp_half" 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_multi_sample_mode_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "multi_sample_mode" 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_pad_slicing_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "pad_slicing" 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.

add_playback_mode_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "playback_mode" has changed.

add_playing_position_enabled_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "playing_position_enabled" has changed.

add_playing_position_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "playing_position" has changed.

add_retrigger_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "retrigger" has changed.

add_sample_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "sample" has changed.

add_slicing_playback_mode_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "slicing_playback_mode" has changed.

add_voices_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "voices" has changed.

can_warp_as_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "can_warp_as".

can_warp_double_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "can_warp_double".

can_warp_half_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "can_warp_half".

crop(self)

Crop the loaded sample to the active area between start- and end marker. Calling this method on an empty simpler raises an error.

guess_playback_length(self)

Return an estimated beat time for the playback length between start- and end-marker. Calling this method on an empty simpler raises an error.

is_active_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "is_active".

multi_sample_mode_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "multi_sample_mode".

name_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "name".

pad_slicing_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "pad_slicing".

parameters_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "parameters".

playback_mode_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "playback_mode".

playing_position_enabled_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "playing_position_enabled".

playing_position_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "playing_position".

remove_can_warp_as_listener(arg1,arg2)

Remove a previously set listener function or method from property "can_warp_as".

remove_can_warp_double_listener(arg1,arg2)

Remove a previously set listener function or method from property "can_warp_double".

remove_can_warp_half_listener(arg1,arg2)

Remove a previously set listener function or method from property "can_warp_half".

remove_is_active_listener(arg1,arg2)

Remove a previously set listener function or method from property "is_active".

remove_multi_sample_mode_listener(arg1,arg2)

Remove a previously set listener function or method from property "multi_sample_mode".

remove_name_listener(arg1,arg2)

Remove a previously set listener function or method from property "name".

remove_pad_slicing_listener(arg1,arg2)

Remove a previously set listener function or method from property "pad_slicing".

remove_parameters_listener(arg1,arg2)

Remove a previously set listener function or method from property "parameters".

remove_playback_mode_listener(arg1,arg2)

Remove a previously set listener function or method from property "playback_mode".

remove_playing_position_enabled_listener(arg1,arg2)

Remove a previously set listener function or method from property "playing_position_enabled".

remove_playing_position_listener(arg1,arg2)

Remove a previously set listener function or method from property "playing_position".

remove_retrigger_listener(arg1,arg2)

Remove a previously set listener function or method from property "retrigger".

remove_sample_listener(arg1,arg2)

Remove a previously set listener function or method from property "sample".

remove_slicing_playback_mode_listener(arg1,arg2)

Remove a previously set listener function or method from property "slicing_playback_mode".

remove_voices_listener(arg1,arg2)

Remove a previously set listener function or method from property "voices".

retrigger_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "retrigger".

reverse(self)

Reverse the loaded sample. Calling this method on an empty simpler raises an error.

sample_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "sample".

slicing_playback_mode_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "slicing_playback_mode".

store_chosen_bank(arg1,arg2,arg3)

Set the selected bank in the device for persistency.

voices_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "voices".

warp_as(self,beat_time)

Warp the playback region between start- and end-marker as the given length. Calling this method on an empty simpler raises an error.

warp_double(self)

Doubles the tempo for region between start- and end-marker.

warp_half(self)

Halves the tempo for region between start- and end-marker.

class SimplerDevice.View

Representing the view aspects of a simpler device.

Properties

  • _live_ptr
  • canonical_parent - Get the canonical parent of the View.
  • is_collapsed - Get/Set/Listen if the device is shown collapsed in the device chain.
  • sample_end - Access to the modulated samples end position in samples. Returns -1 in case there is no sample loaded.
  • sample_env_fade_in - Access to the envelope fade-in time in samples. Returned value is only in use when Simpler is in one-shot mode. Returns -1 in case there is no sample loaded.
  • sample_env_fade_out - Access to the envelope fade-out time in samples. Returned value is only in use when Simpler is in one-shot mode. Returns -1 in case there is no sample loaded.
  • sample_loop_end - Access to the modulated samples loop end position in samples. Returns -1 in case there is no sample loaded.
  • sample_loop_fade - Access to the modulated samples loop fade position in samples. Returns -1 in case there is no sample loaded.
  • sample_loop_start - Access to the modulated samples loop start position in samples. Returns -1 in case there is no sample loaded.
  • sample_start - Access to the modulated samples start position in samples. Returns -1 in case there is no sample loaded.
  • selected_slice - Access to the selected slice.

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.

add_sample_end_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "sample_end" has changed.

add_sample_env_fade_in_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "sample_env_fade_in" has changed.

add_sample_env_fade_out_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "sample_env_fade_out" has changed.

add_sample_loop_end_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "sample_loop_end" has changed.

add_sample_loop_fade_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "sample_loop_fade" has changed.

add_sample_loop_start_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "sample_loop_start" has changed.

add_sample_start_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "sample_start" has changed.

add_selected_slice_listener(arg1,arg2)

Add a listener function or method, which will be called as soon as the property "selected_slice" 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".

remove_sample_end_listener(arg1,arg2)

Remove a previously set listener function or method from property "sample_end".

remove_sample_env_fade_in_listener(arg1,arg2)

Remove a previously set listener function or method from property "sample_env_fade_in".

remove_sample_env_fade_out_listener(arg1,arg2)

Remove a previously set listener function or method from property "sample_env_fade_out".

remove_sample_loop_end_listener(arg1,arg2)

Remove a previously set listener function or method from property "sample_loop_end".

remove_sample_loop_fade_listener(arg1,arg2)

Remove a previously set listener function or method from property "sample_loop_fade".

remove_sample_loop_start_listener(arg1,arg2)

Remove a previously set listener function or method from property "sample_loop_start".

remove_sample_start_listener(arg1,arg2)

Remove a previously set listener function or method from property "sample_start".

remove_selected_slice_listener(arg1,arg2)

Remove a previously set listener function or method from property "selected_slice".

sample_end_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "sample_end".

sample_env_fade_in_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "sample_env_fade_in".

sample_env_fade_out_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "sample_env_fade_out".

sample_loop_end_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "sample_loop_end".

sample_loop_fade_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "sample_loop_fade".

sample_loop_start_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "sample_loop_start".

sample_start_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "sample_start".

selected_slice_has_listener(arg1,arg2)

Returns true, if the given listener function or method is connected to the property "selected_slice".

class SlicingPlaybackMode