|
|
@ -93,6 +93,7 @@ void Dexed::set_params(void) |
|
|
|
fx.uiReso=*p(p_resonance); |
|
|
|
fx.uiReso=*p(p_resonance); |
|
|
|
refreshVoice=true; |
|
|
|
refreshVoice=true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
fx.uiGain=1.0; |
|
|
|
if(fx.uiGain!=*p(p_output)) |
|
|
|
if(fx.uiGain!=*p(p_output)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
fx.uiGain=*p(p_output); |
|
|
|
fx.uiGain=*p(p_output); |
|
|
@ -663,6 +664,10 @@ void Dexed::init(double rate) |
|
|
|
Env::init_sr(rate); |
|
|
|
Env::init_sr(rate); |
|
|
|
fx.init(rate); |
|
|
|
fx.init(rate); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fx.uiCutoff=1.0; |
|
|
|
|
|
|
|
fx.uiReso=0.0; |
|
|
|
|
|
|
|
fx.uiGain=1.0; |
|
|
|
|
|
|
|
|
|
|
|
for (uint8_t note = 0; note < MAX_ACTIVE_NOTES; ++note) { |
|
|
|
for (uint8_t note = 0; note < MAX_ACTIVE_NOTES; ++note) { |
|
|
|
voices[note].dx7_note = new Dx7Note; |
|
|
|
voices[note].dx7_note = new Dx7Note; |
|
|
|
voices[note].keydown = false; |
|
|
|
voices[note].keydown = false; |
|
|
|