Newer
Older
music / app / src / main / cpp / effects / Effect.h
@lukas lukas on 26 Aug 2022 330 bytes add low pass filter effect
#ifndef MUSIC_EFFECT_H
#define MUSIC_EFFECT_H

#include <cstdint>
#include "Processable.h"
#include "../AudioHost.h"

class Effect : public Processable {
public:
    float parameter1, frequency;
    float *input;
    AudioHost *host;

    virtual void doRender(uint32_t sampleCount) = 0;

    virtual void update() = 0;
};

#endif