reaper-osc
    Preparing search index...

    Class SelectedTrackReceive

    A receive on the OSC device's currently selected track

    Implements

    Index

    Constructors

    Properties

    receiveNumber: number

    Accessors

    • get name(): string

      The source track name

      Returns string

    • get pan(): number

      A floating-point value between -1 and 1 that indicates the pan position

      Returns number

    • get panStr(): string

      Human-readable pan position string (e.g. "50%R")

      Returns string

    • get volume(): number

      A floating-point value between 0 and 1 that indicates the fader position

      Returns number

    • get volumeStr(): string

      Human-readable volume string (e.g. "0.00 dB")

      Returns string

    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

    • Sets the pan

      Parameters

      • value: number

        A floating-point value between -1 and 1, where -1 is 100% left and 1 is 100% right

      Returns void

    • Sets the receive volume fader position

      Parameters

      • value: number

        A floating-point value between 0 and 1, where 0 is silent and 1 is unity (0 dB)

      Returns void