We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42c28aa + 189076f commit 72d88d7Copy full SHA for 72d88d7
1 file changed
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_ = 0.99;
+ gain_ = 1.0 - 10.f / sample_rate;
11
}
12
13
float DcBlock::Process(float in)
0 commit comments