reaper-osc
    Preparing search index...

    Class Transport

    The Reaper transport

    Implements

    Index

    Constructors

    Accessors

    • get beat(): string

      Indicates the current transport beat in format mm.bb.xx

      Returns string

    • get frames(): string

      Indicates the current transport from in format h:m:s:f

      Returns string

    • get isFastForwarding(): boolean

      Indicates whether fast-foward is active

      Returns boolean

    • get isPaused(): boolean

      Indicates whether playback is paused

      Returns boolean

    • get isPlaying(): boolean

      Indicates whether playback is active

      Returns boolean

    • get isRecording(): boolean

      Indicates whether recording is active

      Returns boolean

    • get isRepeatEnabled(): boolean

      Indicates whether repeat is enabled

      Returns boolean

    • get isRewindByMarker(): boolean

      Indicates whether rewind-to-previous-marker is enabled

      Returns boolean

    • get isRewinding(): boolean

      Indicates whether rewind is active

      Returns boolean

    • get isSetLoop(): boolean

      Indicates whether the set-loop-points mode is enabled

      Returns boolean

    • get isStopped(): boolean

      Indicates whether playback is stopped

      Returns boolean

    • get loopEnd(): number

      Indicates the end time of the loop (in seconds)

      Returns number

    • get loopStart(): number

      Indicates the start time of the loop (in seconds)

      Returns number

    • get time(): number

      Indicates the current transport time in seconds

      Returns number

    Methods

    • Jump to the marker with the given user-assigned number (as shown in Reaper's UI).

      Parameters

      • markerNumber: number

        The user-assigned marker number to jump to

      Returns void

    • Jump to the region with the given user-assigned number (as shown in Reaper's UI).

      Parameters

      • regionNumber: number

        The user-assigned region number to jump to

      Returns void

    • Jumps to the specified beat (absolute)

      Parameters

      • beat: Beat

        The beat to jump to

      Returns void

    • Jumps to the specified frame (absolute)

      Parameters

      • frame: string

        Frame to jump to (in format h:m:s:f). Values in an invalid format will be ignored by Reaper

      Returns void

    • Jumps to the specified time in seconds (absolute)

      Parameters

      • time: number

        The time to jump to (in seconds). If this value is negative, Reaper will jump to 0

      Returns void

    • Jumps to a relative time in seconds. Note that the absolute value to jump to is calculated by the library based on the currently known time, as Reaper does not appear to support jumping to a relative time via OSC

      Parameters

      • time: number

        The relative time jump (in seconds)

      Returns void

    • An event that can be subscribed to for property change notifications

      Parameters

      • property: string

        The name of the property to subscribe to

      • callback: () => void

        A callback to be called when the state of the specified property changes

      Returns () => void

      A function that unsubscribes the event handler

    • Sets the loop end time

      Parameters

      • time: number

        End time for the loop (in seconds)

      Returns void

    • Sets the loop start time

      Parameters

      • time: number

        Start time for the loop (in seconds)

      Returns void

    • Start fast fowarding. Will continue until stopped

      Returns void

    • Start rewinding. Will continue until stopped

      Returns void

    • Stop fast forwarding

      Returns void

    • Toggle repeat on or off

      Returns void

    • Toggle rewind-to-previous-marker on or off

      Returns void

    • Toggle the set-loop-points mode on or off

      Returns void