diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2023-12-02 17:44:20 +0200 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2023-12-02 17:44:20 +0200 |
commit | 89b515395310c4e84a84992d3f0bd11f8ded6d03 (patch) | |
tree | 7c8554dedd0e6736a0b7db5d5f2285fbd31fe3f9 /src/synth_engine.h | |
parent | 4f7de09c753ece6f2099512522d489b0104a59a8 (diff) | |
download | synth-project-89b515395310c4e84a84992d3f0bd11f8ded6d03.tar.gz synth-project-89b515395310c4e84a84992d3f0bd11f8ded6d03.tar.bz2 synth-project-89b515395310c4e84a84992d3f0bd11f8ded6d03.zip |
gui is mine
Diffstat (limited to 'src/synth_engine.h')
-rw-r--r-- | src/synth_engine.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/synth_engine.h b/src/synth_engine.h index 674c287..3b0b238 100644 --- a/src/synth_engine.h +++ b/src/synth_engine.h @@ -78,12 +78,12 @@ typedef struct { cc_t cc_lfo_freq; cc_t cc_lfo_amp; cc_t cc_adsr_a; + cc_t cc_adsr_peak; cc_t cc_adsr_d; cc_t cc_adsr_s; cc_t cc_adsr_r; + cc_t cc_gain; - float gain; - float x; midi_note_t midi_note[MIDI_NOTES]; @@ -99,8 +99,8 @@ typedef struct { int delay; float * del; int deli; - float del_time; - float del_feedback; + cc_t cc_del_time; + cc_t cc_del_feedback; unsigned long long counter; int filter; @@ -116,10 +116,9 @@ typedef struct { BWBandStop* fff2; int active; + int sound_active; synth_viz viz; - - osc_t * osctri; } synth_t; synth_t * init_synth(); |