We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b004345 commit 189076fCopy full SHA for 189076f
Source/Utility/dcblock.cpp
@@ -7,7 +7,7 @@ void DcBlock::Init(float sample_rate)
7
{
8
output_ = 0.0;
9
input_ = 0.0;
10
- gain_ = expf(-2.0f * M_PI * 10.f / sample_rate);
+ gain_ = 1.0 - 10.f / sample_rate;
11
}
12
13
float DcBlock::Process(float in)
0 commit comments