summaryrefslogtreecommitdiffstats
path: root/src/synth_engine.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2023-04-18 23:01:22 +0300
committergramanas <anastasis.gramm2@gmail.com>2023-04-18 23:01:22 +0300
commit560356027650af8cd3dcc21888cdc3a76382ea5d (patch)
tree03e6397f678e3ce62f8d60809e935cb59fd78d5f /src/synth_engine.h
parent9c6410cc3a43d9d1e01f853cb5a8d0f8a6d93b45 (diff)
downloadsynth-project-560356027650af8cd3dcc21888cdc3a76382ea5d.tar.gz
synth-project-560356027650af8cd3dcc21888cdc3a76382ea5d.tar.bz2
synth-project-560356027650af8cd3dcc21888cdc3a76382ea5d.zip
Fix adsr at 0 A and add active switch
Diffstat (limited to 'src/synth_engine.h')
-rw-r--r--src/synth_engine.h8
1 files changed, 6 insertions, 2 deletions
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;