mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Add noise and sub osc
This commit is contained in:
parent
bda6188352
commit
5f08863f97
9 changed files with 111 additions and 38 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue