Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TrackFx

An FX on a Track

Hierarchy

  • Fx
    • TrackFx

Constructors

constructor

  • Parameters

    • trackNumber: number

      The number of the track the FX is on

    • fxNumber: number

      The FX number in the current bank

    • sendOscMessage: ISendOscMessage

      A callback used to send OSC messages to Reaper

    Returns TrackFx

Properties

Protected Readonly _handlers

_handlers: IMessageHandler[] = ...

Protected Readonly _sendOscMessage

_sendOscMessage: ISendOscMessage

Readonly fxNumber

fxNumber: number

Readonly oscAddress

oscAddress: string

Readonly trackNumber

trackNumber: number

Accessors

isBypassed

  • get isBypassed(): boolean
  • Indicates whether the FX is bypassed

    Returns boolean

isUiOpen

  • get isUiOpen(): boolean
  • Indicates whether the FX's UI is open

    Returns boolean

name

  • get name(): string
  • The name of the FX

    Returns string

preset

  • get preset(): string
  • The name of the current preset, if any

    Returns string

Methods

bypass

  • bypass(): void

closeUi

  • closeUi(): void

nextPreset

  • nextPreset(): void

onPropertyChanged

  • onPropertyChanged(property: string, callback: function): void

openUi

  • openUi(): void

previousPreset

  • previousPreset(): void

receive

  • Receive and handle an OSC message

    Parameters

    Returns boolean

unbypass

  • unbypass(): void

Generated using TypeDoc