2023-03-25 20:24:10 +00:00
|
|
|
#pragma once
|
2023-03-28 12:44:46 +00:00
|
|
|
#include "EffectApplication.h"
|
2023-03-25 20:24:10 +00:00
|
|
|
#include "../shape/Vector2.h"
|
|
|
|
|
2023-03-28 12:44:46 +00:00
|
|
|
class BitCrushEffect : public EffectApplication {
|
2023-03-25 20:24:10 +00:00
|
|
|
public:
|
|
|
|
BitCrushEffect();
|
|
|
|
~BitCrushEffect();
|
|
|
|
|
2023-07-11 12:32:52 +00:00
|
|
|
Vector2 apply(int index, Vector2 input, std::vector<EffectDetails> details, double frequency, double sampleRate) override;
|
2023-03-25 20:24:10 +00:00
|
|
|
};
|