ViPERFX_RE/src/cpp/utils/NoiseSharpening.h

30 lines
365 B
C
Raw Normal View History

2021-07-28 22:34:00 +02:00
//
// Created by mart on 7/28/21.
//
#pragma once
#include "IIR_1st.h"
class NoiseSharpening {
public:
NoiseSharpening();
void Process(float *buffer, uint32_t size);
2021-07-28 22:34:00 +02:00
void Reset();
2021-07-28 22:34:00 +02:00
void SetGain(float gain);
2021-07-28 22:34:00 +02:00
void SetSamplingRate(uint32_t samplerate);
IIR_1st filters[2];
float in[2];
int32_t samplerate;
float gain;
};