From 560356027650af8cd3dcc21888cdc3a76382ea5d Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 18 Apr 2023 23:01:22 +0300 Subject: Fix adsr at 0 A and add active switch --- src/synth_engine.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/synth_engine.h') diff --git a/src/synth_engine.h b/src/synth_engine.h index e35e8fb..674a11e 100644 --- a/src/synth_engine.h +++ b/src/synth_engine.h @@ -53,15 +53,19 @@ typedef struct { int multi; int filter; - float cutoff; - float resonance; int clamp; float (*gen[4]) (float freq, unsigned long long phase, float x, unsigned int sample_rate); int geni; + float cutoff; + float resonance; + BWLowPass* fff; + BWBandStop* fff2; + int active; + viz_t viz; } synth_t; -- cgit v1.2.3