2023-03-25 20:24:10 +00:00
|
|
|
#pragma once
|
2023-03-28 12:44:46 +00:00
|
|
|
#include "EffectApplication.h"
|
2024-10-23 11:44:31 +00:00
|
|
|
#include "../shape/OsciPoint.h"
|
2023-03-25 20:24:10 +00:00
|
|
|
|
2023-03-28 12:44:46 +00:00
|
|
|
class BitCrushEffect : public EffectApplication {
|
2023-03-25 20:24:10 +00:00
|
|
|
public:
|
|
|
|
BitCrushEffect();
|
|
|
|
|
2024-10-23 11:44:31 +00:00
|
|
|
OsciPoint apply(int index, OsciPoint input, const std::vector<std::atomic<double>>& values, double sampleRate) override;
|
2023-09-01 18:52:36 +00:00
|
|
|
};
|