Add noise and sub osc

This commit is contained in:
Roland Rabien 2023-08-26 11:17:03 -07:00
commit 5f08863f97
9 changed files with 111 additions and 38 deletions

View file

@ -36,6 +36,8 @@ private:
WavetableAudioProcessor& proc;
gin::WTVoicedStereoOscillator oscillators[Cfg::numOSCs];
gin::StereoOscillator noise;
gin::StereoOscillator sub;
gin::Filter filter;
gin::ADSR filterADSR;
@ -48,6 +50,10 @@ private:
float currentMidiNotes[Cfg::numOSCs];
gin::WTVoicedStereoOscillator::Params oscParams[Cfg::numOSCs];
float subNote = 0.0f;
gin::StereoOscillator::Params subParams;
gin::StereoOscillator::Params noiseParams;
gin::EasedValueSmoother<float> noteSmoother;