summaryrefslogtreecommitdiffstats
path: root/src/synth_engine.h
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2025-11-27 18:33:13 +0200
committergrm <grm@eyesin.space>2025-11-27 18:33:13 +0200
commit5f3058f662b7222ea47a49ea2a450aa0491b5496 (patch)
tree84d43f105a2601b36326bc33d8fe5468a21d5100 /src/synth_engine.h
parent7828597e5f159010c168f9fe366828825fc75205 (diff)
downloadsynth-project-5f3058f662b7222ea47a49ea2a450aa0491b5496.tar.gz
synth-project-5f3058f662b7222ea47a49ea2a450aa0491b5496.tar.bz2
synth-project-5f3058f662b7222ea47a49ea2a450aa0491b5496.zip
feat: add global lfo index and viz for cutoff lfoHEADmaster
Diffstat (limited to 'src/synth_engine.h')
-rw-r--r--src/synth_engine.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/synth_engine.h b/src/synth_engine.h
index a29c389..254bf21 100644
--- a/src/synth_engine.h
+++ b/src/synth_engine.h
@@ -110,6 +110,8 @@ typedef struct {
adsr_t adsr;
adsr_t f_adsr;
+ int lfo_on_cutoff;
+ float lfo_index;
lfo_t lfo;
int octave;
@@ -119,7 +121,7 @@ typedef struct {
int deli;
cc_t cc_del_time;
cc_t cc_del_feedback;
- unsigned long long counter;
+ unsigned long long delay_counter;
int f_adsr_enabled;
int filter;