Newer
Older
music / app / src / main / cpp / effects / LowPass.h
@lukas lukas on 26 Aug 2022 297 bytes add low pass filter effect
  1. #ifndef MUSIC_LOWPASS_H
  2. #define MUSIC_LOWPASS_H
  3.  
  4. #include "Effect.h"
  5.  
  6. class LowPass : public Effect {
  7. private:
  8. float charge = 0;
  9. float capacitance = 0;
  10. float inverseCapacitance = 0;
  11. float timeStep = 0;
  12. public:
  13. void update();
  14.  
  15. void doRender(uint32_t sampleCount);
  16. };
  17.  
  18. #endif