This class represents a track in Live. It can either be an audio track, a MIDI track, a return track or the master track. The master track and at least one Audio or MIDI track will be always present. Return tracks are optional.

Not all properties are supported by all types of tracks. The properties are marked accordingly.

Track

Hierarchy

Constructors

  • Creates an instance of Track.

    Parameters

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

    Returns Track

    Memberof

    Track

Properties

path: string = 'live_set tracks $1'

Accessors

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

  • get name(): string
  • The name of the track

    Returns string

    Memberof

    Track

  • get path(): string
  • Returns string

Methods

  • Delete the device at the given index.

    Parameters

    • index: number

    Returns Promise<void>

    Memberof

    Track

  • Works like 'Duplicate' in a clip's context menu.

    Parameters

    • index: number

    Returns Promise<void>

    Memberof

    Track

  • Get a specific clip based on Scene number

    Parameters

    • scene: number

    Returns Promise<null | Clip>

    Memberof

    Track

  • Get all clips in a track

    Returns Promise<(null | Clip)[]>

    Memberof

    Track

  • Get a specific clip based on Scene number and creates one if there's none

    Parameters

    • scene: number

      1 based

    • Optional length: number = 4

    Returns Promise<Clip>

    Memberof

    Track

  • Is the track a group track

    Returns Promise<boolean>

    Memberof

    Track

  • Jumps to a running session clip in this track.

    Parameters

    • beats: number

    Returns Promise<void>

    Memberof

    Track

  • Stops all playing and fired clips in this track.

    Returns Promise<void>

    Memberof

    Track

  • Parameters

    • trackNumber: number

    Returns string