Live.Scene (runtime)¶
Live 9, Live Object Model & framework reference (descriptions and signatures).
Live Object Model, from the Live 9 API XML documentation.
Classes¶
class Scene¶
This class represents an series of ClipSlots in Lives Sessionview matrix.
Properties¶
_live_ptrcanonical_parent- Get the canonical parent of the scene.clip_slots- return a list of clipslots (see class AClipSlot) that this scene covers.color- Get/set access to the color of the Scene (RGB).color_index- Get/set access to the color index of the Scene. Can be None for no color.is_empty- Returns True if all clip slots of this scene are empty.is_triggered- Const access to the scene's trigger state.name- Get/Set the name of the scene. Might contain the substring BPM, whichidentifies that the scene will change the tempo when fireed. To Get/Setthe temp, use the 'tempo' property of the scene.tempo- Get/Set the the tempo value of the scene.The Song will use the Scenes tempo as soon as the Scene is fired.Returns -1 if the Scene has no tempo propery.
Methods¶
add_clip_slots_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "clip_slots" has changed.
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_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_name_listener(arg1,arg2)¶
Add a listener function or method, which will be called as soon as the property "name" has changed.
clip_slots_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "clip_slots".
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".
fire(arg1[,force_legato=False[,can_select_scene_on_launch=True]])¶
Fire the scene directly. Will fire all clipslots that this scene owns and select the scene itself.
fire_as_selected(arg1[,force_legato=False])¶
Fire the selected scene. Will fire all clipslots that this scene owns and select the next scene if necessary.
is_triggered_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "is_triggered".
name_has_listener(arg1,arg2)¶
Returns true, if the given listener function or method is connected to the property "name".
remove_clip_slots_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "clip_slots".
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_is_triggered_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "is_triggered".
remove_name_listener(arg1,arg2)¶
Remove a previously set listener function or method from property "name".
set_fire_button_state(arg1,arg2)¶
Set the scene's fire button state directly. Supports all launch modes.