summaryrefslogtreecommitdiffstats
path: root/src/synth_engine.h
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2025-11-27 15:53:51 +0200
committergrm <grm@eyesin.space>2025-11-27 15:53:51 +0200
commit7828597e5f159010c168f9fe366828825fc75205 (patch)
treef03a7ca58230ae162a4bf3a6c9d2763a8c6364e4 /src/synth_engine.h
parenta4acc4cd3a4ef237fb7238894336bbc4af659e07 (diff)
downloadsynth-project-7828597e5f159010c168f9fe366828825fc75205.tar.gz
synth-project-7828597e5f159010c168f9fe366828825fc75205.tar.bz2
synth-project-7828597e5f159010c168f9fe366828825fc75205.zip
chore: remove x value, tidy some code
Diffstat (limited to 'src/synth_engine.h')
-rw-r--r--src/synth_engine.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/synth_engine.h b/src/synth_engine.h
index dafff90..a29c389 100644
--- a/src/synth_engine.h
+++ b/src/synth_engine.h
@@ -103,8 +103,6 @@ typedef struct {
int autogain;
- float x;
-
midi_note_t midi_note[MIDI_NOTES];
midi_note_t * midi_active[MIDI_NOTES];
int midi_active_n;
@@ -133,7 +131,7 @@ typedef struct {
int modifiers[16];
int modi;
- float (*gen[7]) (float freq, midi_note_t * midi_note, float x, unsigned int sample_rate);
+ float (*gen[7]) (float freq, midi_note_t * midi_note);
int geni;
BWLowPass* fff;