summaryrefslogtreecommitdiffstats
path: root/src/synth_engine.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2023-04-19 04:00:08 +0300
committergramanas <anastasis.gramm2@gmail.com>2023-04-19 04:00:08 +0300
commit1e374b426b4182c7b73b35219aadaca267b9623c (patch)
treee98b19e737c8744ca55952191e59e3d521fef68c /src/synth_engine.h
parent7cd2ef47ccf7730ada9a61deacfce6ea03b5516d (diff)
downloadsynth-project-1e374b426b4182c7b73b35219aadaca267b9623c.tar.gz
synth-project-1e374b426b4182c7b73b35219aadaca267b9623c.tar.bz2
synth-project-1e374b426b4182c7b73b35219aadaca267b9623c.zip
fake poly
Diffstat (limited to 'src/synth_engine.h')
-rw-r--r--src/synth_engine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/synth_engine.h b/src/synth_engine.h
index a540126..1191892 100644
--- a/src/synth_engine.h
+++ b/src/synth_engine.h
@@ -47,11 +47,16 @@ typedef struct {
float gain;
float x;
+ int notes_active;
+ float freq[100];
+ unsigned long long freq_count[100];
+
note_t n;
adsr_t adsr;
int octave;
+ int poly;
int multi;
int filter;
int clamp;