From 84178af143d5d17e3d427b4edb9390805bf9b562 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Tue, 27 Jul 2021 17:47:24 +0200 Subject: [PATCH] Fixing a copy'n'paste error... --- MicroDexed.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MicroDexed.ino b/MicroDexed.ino index ed15cb8..5564a53 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -810,8 +810,8 @@ void handleNoteOn(byte inChannel, byte inNumber, byte inVelocity) uint8_t slot = drum_get_slot(drum_config[d].type); drum_volume[slot]->gain(pseudo_log_curve(mapfloat(inVelocity, 0, 127, drum_config[d].vol_min, drum_config[d].vol_max))); drum_mono2stereo[slot]->panorama(drum_config[d].pan); - drum_reverb_send_mixer_r.gain(slot, pseudo_log_curve(mapfloat(inVelocity, 0, 127, drum_config[d].vol_min, drum_config[d].vol_max))); - drum_reverb_send_mixer_l.gain(slot, pseudo_log_curve(mapfloat(inVelocity, 0, 127, drum_config[d].vol_min, drum_config[d].vol_max))); + drum_reverb_send_mixer_r.gain(slot, pseudo_log_curve(drum_config[d].reverb_send)); + drum_reverb_send_mixer_l.gain(slot, pseudo_log_curve(drum_config[d].reverb_send)); Drum[slot]->play(drum_config[d].filename); break; }