Fader struct

A Fader is a processor that is used for volume controls and pan.


It does not necessarily have to correspond to a FaderWidget. It can be used as a backend to KnobWidget's.

Public variables

float volume
Volume in dBFS.
float amp
Volume in amplitude (0.0 ~ 1.5)
float phase
Used by the phase knob (0.0 ~ 360.0).
float pan
(0.0 ~ 1.0) 0.5 is center.
float fader_val
0.0 ~ 1.0 for widgets.
StereoPorts* stereo_in
L & R audio input ports, if audio.
StereoPorts* stereo_out
L & R audio output ports, if audio.
Port* midi_in
MIDI in port, if MIDI.
Port* midi_out
MIDI out port, if MIDI.
float l_port_db
Current dBFS after procesing each output port.
Channel* channel
Owner channel, if channel fader.

Variable documentation

float Fader::volume

Volume in dBFS.

(-inf ~ +6)

float Fader::l_port_db

Current dBFS after procesing each output port.

Transient variables only used by the GUI.