Class Song

This class represents a Live Set

Hierarchy

Constructors

  • Creates an instance of Song.

    Memberof

    Song

    Parameters

    Returns Song

Properties

path: string = 'live_set'

Accessors

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

Methods

  • Capture the currently playing clips and insert them as a new scene below the selected scene.

    Memberof

    Song

    Returns Promise<void>

  • Capture recently played MIDI material from audible tracks into a Live Clip. If destinaton is not set or it is set to auto, the Clip is inserted into the view currently visible in the focused Live window. Otherwise, it is inserted into the specified view.

    Memberof

    Song

    Parameters

    • destination: number = 0

      0 = auto, 1 = session, 2 = arrangement

    Returns Promise<void>

  • From the current playback position.

    Memberof

    Song

    Returns Promise<void>

  • Index determines where the track is added, it is only valid between 0 and len(song.tracks). Using an index of -1 will add the new track at the end of the list.

    Memberof

    Song

    Parameters

    • index: number = -1

    Returns Promise<void>

  • Index determines where the track is added, it is only valid between 0 and len(song.tracks). Using an index of -1 will add the new track at the end of the list.

    Memberof

    Song

    Parameters

    • index: number = -1

    Returns Promise<void>

  • Adds a new return track at the end.

    Memberof

    Song

    Returns Promise<void>

  • Index determines where the scene is added, it is only valid between 0 and len(song.scenes). Using an index of -1 will add the new scene at the end of the list.

    Memberof

    Song

    Parameters

    • index: number = -1

    Returns Promise<void>

  • Delete the return track at the given index.

    Memberof

    Song

    Parameters

    • index: number

    Returns Promise<void>

  • Delete the scene at the given index.

    Memberof

    Song

    Parameters

    • index: number

    Returns Promise<void>

  • Delete the track at the given index.

    Memberof

    Song

    Parameters

    • index: number

    Returns Promise<void>

  • Index determines which scene to duplicate.

    Memberof

    Song

    Parameters

    • index: number

    Returns Promise<void>

  • Index determines which track to duplicate.

    Memberof

    Song

    Parameters

    • index: number

    Returns Promise<void>

  • Find a track by name

    Memberof

    Song

    Parameters

    • trackName: string

    Returns Promise<undefined | Track>

  • Force the Link timeline to jump to Live's current beat time.

    Memberof

    Song

    Returns Promise<void>

  • Get all the audio tracks

    Memberof

    Song

    Returns Promise<undefined | Track[]>

  • The Arrangement loop length.

    Memberof

    Song

    Returns Promise<void>

    bars.beats.sixteenths.ticks

  • The Arrangement loop start.

    Memberof

    Song

    Returns Promise<void>

    bars.beats.sixteenths.ticks

  • The current Arrangement playback position.

    Memberof

    Song

    Returns Promise<void>

    bars.beats.sixteenths.ticks

  • The current Arrangement playback position.

    Memberof

    Song

    Parameters

    Returns Promise<void>

    hours:min:sec:frames

  • Get all the midi tracks

    Memberof

    Song

    Returns Promise<undefined | Track[]>

  • If the current Arrangement playback position is at a cue point

    Memberof

    Song

    Returns Promise<boolean>

  • Jump by

    Memberof

    Song

    Parameters

    • amount: number

      is the amount to jump relatively to the current position

    Returns Promise<void>

  • Jump to the right, if possible.

    Memberof

    Song

    Returns Promise<void>

  • Jump to the left, if possible.

    Memberof

    Song

    Returns Promise<void>

  • Start playing a specific scene

    Memberof

    Song

    Parameters

    • scene: number

    Returns Promise<void>

  • Do nothing if no selection is set in Arrangement, or play the current selection.

    Memberof

    Song

    Returns Promise<void>

  • Trigger 'Re-Enable Automation', re-activating automation in all running Session clips.

    Memberof

    Song

    Returns Promise<void>

  • Causes the Live application to redo the last operation.

    Memberof

    Song

    Returns Promise<void>

  • Same as jump_by , at the moment.

    Memberof

    Song

    Parameters

    • amount: number

      is the amount to scrub relatively to the current position

    Returns Promise<void>

  • Toggle cue point at current Arrangement playback position.

    Memberof

    Song

    Returns Promise<void>

  • Start playback from the insert marker.

    Memberof

    Song

    Returns Promise<void>

  • Calling the function with 0 will stop all clips immediately, independent of the launch quantization. The default is '1'.

    Memberof

    Song

    Parameters

    • quantized: boolean = true

    Returns Promise<void>

  • Stop the playback.

    Memberof

    Song

    Returns Promise<void>

  • Same as pressing the Tap Tempo button in the transport bar. The new tempo is calculated based on the time between subsequent calls of this function.

    Memberof

    Song

    Returns Promise<void>

  • Starts recording in either the selected slot or the next empty slot, if the track is armed. If recordLength is provided, the slot will record for the given length in beats.

    If triggered while recording, recording will stop and clip playback will start.

    Memberof

    Song

    Parameters

    • Optional recordLength: number

    Returns Promise<void>

  • Causes the Live application to undo the last operation.

    Memberof

    Song

    Returns Promise<void>