@ableton-extensions/sdk
    Preparing search index...

    Class MidiTrack<Version>

    Represents a MIDI track.

    Type Parameters

    • Version extends ApiVersion

    Hierarchy (View Summary)

    Index

    Properties

    handle: Handle
    className: "MidiTrack"

    Accessors

    • get arm(): boolean

      Returns boolean

    • set arm(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get mute(): boolean

      Returns boolean

    • set mute(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    • get mutedViaSolo(): boolean

      Returns boolean

    • get name(): string

      Returns string

    • set name(value: string): void

      Parameters

      • value: string

      Returns void

    • get solo(): boolean

      Returns boolean

    • set solo(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    Methods

    • Deletes clips within the range. Clips that overlap a boundary are truncated to the range edge rather than fully deleted.

      Parameters

      • startTime: number

        Start of the range in beats.

      • endTime: number

        End of the range in beats.

      Returns Promise<void>

    • Parameters

      • startTime: number

        Position in the arrangement in beats.

      • duration: number

        Length of the clip in beats.

      Returns Promise<MidiClip<Version>>

    • Deletes a device from this track's device chain. Await the returned promise to ensure the deletion has been fully processed.

      Parameters

      Returns Promise<void>

    • Inserts a built-in Live device with its default preset into the track's device chain. Only devices native to Live are supported — third-party plug-ins cannot be loaded this way.

      Parameters

      • deviceName: string

        The name of the built-in Live device (e.g. "Reverb", "Auto Filter").

      • index: number

        Zero-based position in the device chain at which to insert.

      Returns Promise<Device<Version>>