|
virtual bool | reset (double _sampleRate) |
|
virtual bool | update () |
| update the filter due to changes in the GUI controls and/or modulations More...
|
|
virtual FilterOutput * | process (double xn) |
| Process audio through the filter. Different filters produce different outputs in the FilterOutput's array. More...
|
|
virtual void | setFilterParams (double _fc, double _Q) |
| Sets the two parameters of all synth filters. You can add more here if you need to. More...
|
|
void | setCoeffs (const DiodeVA1Coeffs &_coeffs) |
|
void | copyCoeffs (VADiodeSubFilter &destination) |
|
void | setFBInput (double _feedbackIn) |
|
double | getFBOutput () |
|
|
DiodeVA1Coeffs | coeffs |
|
FilterOutput | output |
|
double | sampleRate = 44100.0 |
| current sample rate
|
|
double | halfSamplePeriod = 1.0 |
|
double | fc = 0.0 |
|
double | sn = 0.0 |
| state variables
|
|
double | feedbackIn = 0.0 |
|
◆ process()
FilterOutput * SynthLab::VADiodeSubFilter::process |
( |
double |
xn | ) |
|
|
virtual |
◆ reset()
bool SynthLab::VADiodeSubFilter::reset |
( |
double |
_sampleRate | ) |
|
|
virtual |
◆ setFilterParams()
void SynthLab::VADiodeSubFilter::setFilterParams |
( |
double |
_fc, |
|
|
double |
_Q |
|
) |
| |
|
virtual |
Sets the two parameters of all synth filters. You can add more here if you need to.
- Parameters
-
_fc | the center or cutoff frequency of the filter |
_Q | the quality factor (damping) of the filter |
Implements SynthLab::IFilterBase.
◆ update()
bool SynthLab::VADiodeSubFilter::update |
( |
| ) |
|
|
virtual |
update the filter due to changes in the GUI controls and/or modulations
- Returns
- true if sucessful, false otherwise
Implements SynthLab::IFilterBase.
The documentation for this class was generated from the following files: