Live.ClipSlot (runtime)¶
Live 9, Live Object Model & framework reference (descriptions and signatures).
Live Object Model, from the Live 9 API XML documentation.
Classes¶
class ClipSlot¶
This class represents an entry in Lives Session view matrix.
Properties¶
_live_ptrcanonical_parent- Get the canonical parent of the ClipSlot.clip- Returns the Clip which this clipslots currently owns. Might be None.color- Returns the canonical color for the clip slot or None if it does not exist.color_index- Returns the canonical color index for the clip slot or None if it does not exist.controls_other_clips- Returns true if firing this slot will fire clips in other slots.Can only be true for slots in group tracks.has_clip- Returns true if this Clipslot owns a Clip.has_stop_button- Get/Set if this Clip has a stop button, which will, if fired, stop anyother Clip that is currently playing the Track we do belong to.is_playing- Returns whether the clip associated with the slot is playing.is_recording- Returns whether the clip associated with the slot is recording.is_triggered- Const access to the triggering state of the clip slot.playing_status- Const access to the playing state of the clip slot.Can be either stopped, playing, or recording.will_record_on_start- returns true if the clip slot will record on being fired.
Methods¶
add_color_index_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "color_index" has changed.
add_color_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "color" has changed.
add_controls_other_clips_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "controls_other_clips" has changed.
add_has_clip_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "has_clip" has changed.
add_has_stop_button_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "has_stop_button" has changed.
add_is_triggered_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "is_triggered" has changed.
add_playing_status_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "playing_status" has changed.
color_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "color".
color_index_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "color_index".
controls_other_clips_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "controls_other_clips".
create_clip(arg1,arg2)¶
Creates an empty clip with the given length in the slot. Throws an error when called on non-empty slots or slots in non-MIDI tracks.
delete_clip(arg1)¶
Removes the clip contained in the slot. Rises an exception if the slot was empty.
fire(arg1)¶
Fire a Clip if this Clipslot owns one, else trigger the stop button, if we have one.
has_clip_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "has_clip".
has_stop_button_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "has_stop_button".
is_triggered_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "is_triggered".
playing_status_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "playing_status".
remove_color_index_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "color_index".
remove_color_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "color".
remove_controls_other_clips_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "controls_other_clips".
remove_has_clip_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "has_clip".
remove_has_stop_button_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "has_stop_button".
remove_is_triggered_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "is_triggered".
remove_playing_status_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "playing_status".
set_fire_button_state(arg1,arg2)¶
Set the clipslot's fire button state directly. Supports all launch modes.
stop(arg1)¶
Stop playing the contained Clip, if there is a Clip and its currently playing.