Permalink
Browse files

Added missing first half of energy window which rarely led to unwante…

…d fade-outs.
  • Loading branch information...
sritterbusch committed Jul 18, 2016
1 parent b0555cd commit fb1dbaf0a3cd3093b594dfa423094a3d66be271c
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/CrosstalkGate.cpp
View
@@ -44,7 +44,12 @@ void CrosstalkGate::gate(Channels &channels,unsigned downsampleLevel,double wind
double sum=0;
for(unsigned j=0;j<workWindow;j++)
{
sum+=downsample[i][j];
}
for(unsigned j=0;j<downsample[i].size();j++)
{
sum+=downsample[i][j+workWindow]-downsample[i][j-workWindow];

0 comments on commit fb1dbaf

Please sign in to comment.