Droplet switching

This commit is contained in:
2020-09-16 18:27:22 -04:00
parent 1f758b1772
commit 1ce6820633
5 changed files with 49 additions and 28 deletions

View File

@ -4,6 +4,7 @@ VCODroplet::VCODroplet(DaisyPatch* m_patch,
float sample_rate,
DropletState m_state) {
UpdateState(m_state);
patch = m_patch;
int num_waves = Oscillator::WAVE_LAST - 1;
osc.Init(sample_rate);
freqctrl.Init(patch->controls[patch->CTRL_1], 10.0,