Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace transport

Index

Functions

Functions

loop

  • loop(startTimeSeconds: number | boolean, durationSeconds?: number): { address: string; args: { type: string; value: number }[] }
  • Set loop points, and enable looping.

    Parameters

    • startTimeSeconds: number | boolean

      The time in seconds at which the loop should begin. Or false, which disables looping.

    • Optional durationSeconds: number

      The length of the loop, measured seconds.

    Returns { address: string; args: { type: string; value: number }[] }

    • address: string
    • args: { type: string; value: number }[]

play

  • play(): { address: string }

stop

  • stop(): { address: string }

to

  • to(timeSeconds: number): { address: string; args: { type: string; value: number }[] }
  • Move the playback transport

    Parameters

    • timeSeconds: number

    Returns { address: string; args: { type: string; value: number }[] }

    • address: string
    • args: { type: string; value: number }[]

toMeasure

  • toMeasure(measureNumber: number): { address: string; args: { type: string; value: number }[] }
  • Move the playback transport to a particular measure

    Parameters

    • measureNumber: number

    Returns { address: string; args: { type: string; value: number }[] }

    • address: string
    • args: { type: string; value: number }[]