Skip to content

Sample

Represents a sample file loaded into a Simpler instance. The Sample class exposes the sample’s file path, length, sample rate, slicing markers, and the warp markers that drive Simpler’s playback engine.

This class represents a sample file loaded into a Simpler instance. From Live’s runtime docstring.

Inherited from LomObject

Access to the sample’s canonical parent. From Live’s runtime docstring.

Access to the Granulation Resolution parameter in Beats Warp Mode. From Live’s runtime docstring.

Access to the Transient Envelope parameter in Beats Warp Mode. From Live’s runtime docstring.

beats_transient_loop_mode: TransientLoopModeProbed asinthigh confidence
  • sister method TransientLoopMode enum in same module (Sample). Property name is a direct snake-case match.
Section titled “beats_transient_loop_mode: TransientLoopModeProbed asinthigh confidencesister method TransientLoopMode enum in same module (Sample). Property name is a direct snake-case match.”

Access to the Transient Loop Mode parameter in Beats Warp Mode. From Live’s runtime docstring.

Access to the Envelope parameter in Complex Pro Mode. From Live’s runtime docstring.

Access to the Formants parameter in Complex Pro Warp Mode. From Live’s runtime docstring.

Access to the position of the sample’s end marker. From Live’s runtime docstring.

Get the path of the sample file. From Live’s runtime docstring.

Access to the sample gain. From Live’s runtime docstring.

Get the length of the sample file in sample frames. From Live’s runtime docstring.

Access to the audio sample rate of the sample. From Live’s runtime docstring.

Access to the list of slice points in sample time in the sample. From Live’s runtime docstring.

slicing_beat_division: SlicingBeatDivisionProbed asinthigh confidence
  • sister method SlicingBeatDivision enum in same module (Sample). Property name is a direct snake-case match.
Section titled “slicing_beat_division: SlicingBeatDivisionProbed asinthigh confidencesister method SlicingBeatDivision enum in same module (Sample). Property name is a direct snake-case match.”

Access to sample’s slicing step size. From Live’s runtime docstring.

Access to sample’s slicing split count. From Live’s runtime docstring.

Access to sample’s slicing sensitivity whose sensitivity is in between 0.0 and 1.0. The higher the sensitivity, the more slices will be available. From Live’s runtime docstring.

slicing_style: SlicingStyleProbed asinthigh confidence
  • sister method SlicingStyle enum in same module (Sample). Property name is a direct snake-case match.
Section titled “slicing_style: SlicingStyleProbed asinthigh confidencesister method SlicingStyle enum in same module (Sample). Property name is a direct snake-case match.”

Access to sample’s slicing style. From Live’s runtime docstring.

Access to the position of the sample’s start marker. From Live’s runtime docstring.

Access to the Flux parameter in Texture Warp Mode. From Live’s runtime docstring.

Access to the Grain Size parameter in Texture Warp Mode. From Live’s runtime docstring.

Access to the Grain Size parameter in Tones Warp Mode. From Live’s runtime docstring.

Get the warp markers for this sample. From Live’s runtime docstring.

warp_mode: WarpModeProbed asinthigh confidence
  • sister method WarpMode enum lives in Clip but drives both Clip.warp_mode and Sample.warp_mode (the sample inside an audio clip). Cross-module but unambiguous — only one WarpMode enum exists across the LOM.
Section titled “warp_mode: WarpModeProbed asinthigh confidencesister method WarpMode enum lives in Clip but drives both Clip.warp_mode and Sample.warp_mode (the sample inside an audio clip). Cross-module but unambiguous — only one WarpMode enum exists across the LOM.”

Access to the sample’s warp mode. From Live’s runtime docstring.

Access to the sample’s warping property. From Live’s runtime docstring.

  • beat_time: float
Returns
float

Converts the given beat time to sample time. Raises an error if the sample is not warped. From Live’s runtime docstring.

Clears all slices created in Simpler’s manual mode. From Live’s runtime docstring.

Returns
str

Get the gain’s display value as a string. From Live’s runtime docstring.

  • slice_time: int

Add a slice point at the provided time if there is none. From Live’s runtime docstring.

  • old_time: int
  • new_time: int
Returns
int

Move the slice point at the provided time. From Live’s runtime docstring.

  • slice_time: int

Remove the slice point at the provided time if there is one. From Live’s runtime docstring.

Resets all edited slices to their original positions. From Live’s runtime docstring.

  • sample_time: float
Returns
float

Converts the given sample time to beat time. Raises an error if the sample is not warped. From Live’s runtime docstring.

Returned by 1 member elsewhere in the LOM
sixteenth0
sixteenth_triplett1
eighth2
eighth_triplett3
quarter4
quarter_triplett5
half6
half_triplett7
one_bar8
two_bars9
four_bars10
transient0
beat1
region2
manual3
off0
forward1
alternate2

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.