Ableton Live
    Preparing search index...

    Class Track

    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

    Index
    • Creates an instance of Track.

      Parameters

      Returns Track

      Track

    ChildrenInitialProps: {
        clip_slots: (string | { initialProps: string[]; name: string })[];
        devices: string[];
        mixer_device: { initialProps: string[]; name: string }[];
        take_lanes: string[];
    } = ...
    path: string = 'live_set tracks $1'
    • get id(): string | undefined

      Returns string | undefined

    • get index(): number

      The index of the track

      Returns number

      Track

    • get name(): string

      The name of the track

      Returns string

      Track

    • get path(): string

      Returns string

    • Creates an audio clip in the Arrangement.

      Parameters

      • filePath: string

        absolute path to a valid audio file

      • position: number

        position in the Arrangement, in beats

      Returns Promise<void>

      Track

    • Creates an empty MIDI clip in the Arrangement.

      Available since Live 12.1.10.

      Parameters

      • startTime: number

        position in the Arrangement, in beats

      • length: number

        length of the clip, in beats

      Returns Promise<void>

      Track

    • Creates a new take lane in this track.

      Available since Live 12.2.

      Returns Promise<void>

      Track

    • Delete the device at the given index.

      Parameters

      • index: number

      Returns Promise<void>

      Track

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

      Parameters

      • index: number

      Returns Promise<void>

      Track

    • Get a specific clip based on Scene number

      Parameters

      • scene: number

      Returns Promise<Clip | null>

      Track

    • Get all clips in a track

      Returns Promise<(Clip | null)[]>

      Track

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

      Parameters

      • scene: number

        1 based

      • Optionallength: number = 4

      Returns Promise<Clip>

      Track

    • Inserts a native Live device into this track, by the name shown in Live's browser. Max for Live devices and plug-ins are not supported.

      Available since Live 12.3.

      Parameters

      • deviceName: string

        f.ex. Reverb, Operator

      • OptionaltargetIndex: number

        position in the device chain; appended at the end when omitted

      Returns Promise<void>

      Track

    • Is the track a group track

      Returns Promise<boolean>

      Track

    • Jumps to a running session clip in this track.

      Parameters

      • beats: number

      Returns Promise<void>

      Track

    • Stops all playing and fired clips in this track.

      Returns Promise<void>

      Track

    • Parameters

      • trackNumber: number

      Returns string