10 NoiseGate(
double thresholdDB,
double sampleRate);
13 void setThreshold(
double value);
14 float process(
float sample,
int channel = 1);
15 void prepare(
const double sampleRate,
const int numSamples,
const int numChannels)
override
17 std::ignore = sampleRate;
18 std::ignore = numSamples;
19 std::ignore = numChannels;
21 void process(std::span<const float> input, std::span<float>,
int channel)
override
24 std::ignore = channel;
28 double mThresholdLinear;