47 int32_t setConfig(q31_t lpfFrequency, q31_t lpfResonance, FilterMode lpfmode, q31_t lpfMorph, q31_t hpfFrequency,
48 q31_t hpfResonance, FilterMode hpfmode, q31_t hpfMorph, q31_t filterGain, FilterRoute routing,
49 bool adjustVolumeForHPFResonance, q31_t* overallOscAmplitude);
51 void renderLong(q31_t* startSample, q31_t* endSample, int32_t numSamples, int32_t sampleIncrememt = 1);
54 void renderLongStereo(q31_t* startSample, q31_t* endSample);
57 inline bool isLPFOn() {
return LPFOn; }
58 inline bool isHPFOn() {
return HPFOn; }
59 inline bool isOn() {
return HPFOn || LPFOn; }
63 FilterMode lastLPFMode_;
65 FilterMode lastHPFMode_;
68 void renderLPFLong(q31_t* startSample, q31_t* endSample, int32_t sampleIncrement = 1);
69 void renderLPFLongStereo(q31_t* startSample, q31_t* endSample);
70 void renderHPFLongStereo(q31_t* startSample, q31_t* endSample);
71 void renderHPFLong(q31_t* startSample, q31_t* endSample, int32_t sampleIncrement = 1);