phaser modulation input fix

main
pio 1 month ago
parent ff9445a64d
commit 766f1aa343
  1. 2
      src/effect_phaserStereo_F32.cpp
  2. 1
      src/effect_reverbsc_F32.h

@ -120,7 +120,7 @@ void AudioEffectPhaserStereo_F32::update()
} }
else // external modulation signal does not use modulation offset between LR else // external modulation signal does not use modulation offset between LR
{ {
modSigL = ((float32_t)blockMod->data[i] + 32768.0f) / 65535.0f; // mod signal is 0.0 to 1.0 modSigL = blockMod->data[i]; // mod signal is 0.0 to 1.0
modSigR = modSigL; modSigR = modSigL;
} }
// apply scale/offset to the modulation wave // apply scale/offset to the modulation wave

@ -17,7 +17,6 @@
#define _EFFECT_REVERBSC_F32_H_ #define _EFFECT_REVERBSC_F32_H_
#include <Arduino.h> #include <Arduino.h>
#include "Audio.h"
#include "AudioStream.h" #include "AudioStream.h"
#include "AudioStream_F32.h" #include "AudioStream_F32.h"
#include "arm_math.h" #include "arm_math.h"

Loading…
Cancel
Save