Skip to content

ClipSlot

Represents a single cell of Live’s Session view matrix — the intersection of a track and a scene. The ClipSlot class owns the slot’s Clip (if any), its launch and stop buttons, and, for group-track slots, the aggregated playing state of clips inside the group.

This class represents an entry in Lives Session view matrix. From Live’s runtime docstring.

Inherited from LomObject

Get the canonical parent of the ClipSlot. From Live’s runtime docstring.

Returns the Clip which this clipslots currently owns. Might be None. From Live’s runtime docstring.

Returns the canonical color for the clip slot or None if it does not exist. From Live’s runtime docstring.

Returns the canonical color index for the clip slot or None if it does not exist. From Live’s runtime docstring.

Returns true if firing this slot will fire clips in other slots. Can only be true for slots in group tracks. From Live’s runtime docstring.

Returns true if this Clipslot owns a Clip. From Live’s runtime docstring.

Get/Set if this Clip has a stop button, which will, if fired, stop any other Clip that is currently playing the Track we do belong to. From Live’s runtime docstring.

Returns whether this clip slot is a group track slot (group slot). From Live’s runtime docstring.

Returns whether the clip associated with the slot is playing. From Live’s runtime docstring.

Returns whether the clip associated with the slot is recording. From Live’s runtime docstring.

Const access to the triggering state of the clip slot. From Live’s runtime docstring.

Const access to the playing state of the clip slot. Can be either stopped, playing, or recording. From Live’s runtime docstring.

returns true if the clip slot will record on being fired. From Live’s runtime docstring.

  • file_path: str
Returns

Creates an audio clip referencing the file at the given absolute path in the slot. Throws an error when called on non-empty slots or slots in non-audio or frozen tracks, or when the path doesn’t point at a valid audio file. From Live’s runtime docstring.

  • length: float
Returns

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. From Live’s runtime docstring.

Removes the clip contained in the slot. Raises an exception if the slot was empty. From Live’s runtime docstring.

Duplicates the slot’s clip to the passed in target slot. Overrides the target’s clip if it’s not empty. Raises an exception if the (source) slot itself is empty, or if source and target have different track types (audio vs. MIDI). Also raises if the source or target slot is in a group track (so called group slot). From Live’s runtime docstring.

Fire a Clip if this Clipslot owns one, else trigger the stop button, if we have one. From Live’s runtime docstring.

  • state: bool

Set the clipslot’s fire button state directly. Supports all launch modes. From Live’s runtime docstring.

Stop playing the contained Clip, if there is a Clip and its currently playing. From Live’s runtime docstring.

Returned by 3 members elsewhere in the LOM
stopped0
started1
recording2

This is an independent reference site. Not affiliated with, endorsed by, or sponsored by Ableton AG. “Ableton”, “Live”, “Push”, and related marks are trademarks of Ableton AG.