summaryrefslogtreecommitdiffstats
path: root/src/midi.c
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2023-09-14 14:37:13 +0300
committergramanas <anastasis.gramm2@gmail.com>2023-09-14 14:37:13 +0300
commit51821bb2e9b67fc70486a4ee8dcbc88971adc3b6 (patch)
tree03e32617e4625d54ec9bd0d449e514d1344c52bd /src/midi.c
parent2a2a1b0d9fc4bfffcaf23d2f66d38d6927d76bbe (diff)
downloadsynth-project-51821bb2e9b67fc70486a4ee8dcbc88971adc3b6.tar.gz
synth-project-51821bb2e9b67fc70486a4ee8dcbc88971adc3b6.tar.bz2
synth-project-51821bb2e9b67fc70486a4ee8dcbc88971adc3b6.zip
More cleanup
Diffstat (limited to 'src/midi.c')
-rw-r--r--src/midi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/midi.c b/src/midi.c
index b53f365..c01b803 100644
--- a/src/midi.c
+++ b/src/midi.c
@@ -53,7 +53,7 @@ void midi_decode(uint32_t msg, synth_t * synth) {
break;
case 4:
cc_step(&synth->cc_cutoff, x);
- synth->cutoff = synth->cutoff + (x * (10 * log10(synth->cutoff)));
+ //synth->cutoff = synth->cutoff + (x * (10 * log10(synth->cutoff)));
break;
case 5:
cc_step(&synth->cc_resonance, x);
@@ -71,7 +71,6 @@ void midi_decode(uint32_t msg, synth_t * synth) {
synth->filter = x - 1;
break;
case 29:
- synth->multi = x - 1;
break;
default:
}