osci-render/Source/audio/SmoothEffect.h

13 wiersze
304 B
C
Czysty Zwykły widok Historia

2023-03-28 14:52:51 +00:00
#pragma once
#include <JuceHeader.h>
2023-03-28 14:52:51 +00:00
class SmoothEffect : public osci::EffectApplication {
2023-03-28 14:52:51 +00:00
public:
SmoothEffect();
~SmoothEffect();
osci::Point apply(int index, osci::Point input, const std::vector<std::atomic<double>>& values, double sampleRate) override;
2023-03-28 14:52:51 +00:00
private:
osci::Point avg;
};