Class ClipSlot

Hierarchy

Constructors

  • Creates an instance of ClipSlot.

    Parameters

    • ableton: AbletonLiveBase
    • raw: RawClipSlot
    • Optional path: string

    Returns ClipSlot

    Memberof

    ClipSlot

Properties

path: string = 'live_set tracks $1 clip_slots $2'

Accessors

  • get hasClip(): boolean
  • If it contains a clip

    Returns boolean

    Memberof

    ClipSlot

  • get id(): undefined | number
  • Returns undefined | number

  • get path(): string
  • Returns string

Methods

  • Gets the clip or return's null if there's none

    Returns Promise<null | Clip>

    Memberof

    ClipSlot

  • Creates a new clip

    Parameters

    • Optional lengthInBeats: number = 4

      In beats, f.ex: 4 beats = 1 bar

    Returns Promise<Clip>

    Memberof

    ClipSlot

  • Deletes the clip

    Returns Promise<void>

    Memberof

    ClipSlot

  • Duplicates the clip into a new clip slot

    Parameters

    • Optional targetClipSlot: number

      target clip slot

    Returns Promise<void>

    Memberof

    ClipSlot

  • Plays/Triggers a clip

    Parameters

    • Optional recordLength: number
    • Optional launchQuantization: number

    Returns Promise<void>

    Memberof

    ClipSlot

  • Type Parameters

    • T extends "has_stop_button"

    Parameters

    Returns Promise<null>

  • Stops a clip

    Returns Promise<void>

    Memberof

    ClipSlot