The FX slot number in the device FX bank
A callback used to send typed commands to Reaper
Protected_Protected_Protected_Protected_Protected Readonly_ReadonlyfxThe FX slot number in the device FX bank
Indicates whether the FX is bypassed
Indicates whether the FX's UI is open
The name of the FX
The name of the current preset.
Update behaviour varies by subclass:
DeviceSelectedFx — updated in real time whenever the preset changes, because Reaper
sends /fx/preset in response to every preset navigation command.SelectedTrackFxSlot and TrackFx — only updated during a sync burst
(refreshControlSurfaces()), because Reaper only sends /fx/{n}/preset and
/track/{n}/fx/{m}/preset as part of the full state refresh, not in response to
individual preset commands.If you need live preset feedback, use DeviceSelectedFx (via selectedTrack.selectedFx
after calling device.selectFx(n) to point it at the desired slot).
Bypass the FX
Close the UI of the FX
Load the next FX preset
An event that can be subscribed to for property change notifications
The name of the property to subscribe to
A callback to be called when the state of the specified property changes
A function that unsubscribes the event handler
Open the UI of the FX
Load the previous FX preset
Unbypass the FX
An FX slot on the OSC device's currently selected track (addressed via
/fx/N/).