reaper-osc
    Preparing search index...

    Class Marker

    A marker in the current device marker bank

    Implements

    Index

    Constructors

    • Parameters

      • slotIndex: number

        The 1-based slot index within the current device marker bank

      • _send: SendCommand

      Returns Marker

    Properties

    slotIndex: number

    The 1-based slot index within the current device marker bank

    Accessors

    • get name(): string

      The marker's name

      Returns string

    • get number(): string

      The user-assigned marker number (as shown in Reaper's UI). This is a string because Reaper sends it as a string (e.g. "1", "2"). Empty string if not yet populated.

      Returns string

    • get time(): number

      The marker's time position in seconds

      Returns number

    Methods

    • 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

    • Rename this marker. Uses write-by-ID: the user-assigned marker number from number.

      Parameters

      • name: string

        The new name for the marker

      Returns void

    • Change the user-assigned number of this marker. Uses write-by-ID.

      Parameters

      • number: number

        The new user-assigned marker number

      Returns void

    • Move this marker to a new time position. Uses write-by-ID. Note: moving a marker may change its bank slot index on the next sync.

      Parameters

      • time: number

        The new time position in seconds

      Returns void