Unverified Commit e6b64d32 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

features #14

parent e5d85061
...@@ -623,7 +623,7 @@ int main(int argc, char **argv) { ...@@ -623,7 +623,7 @@ int main(int argc, char **argv) {
g[i] = sqrt((Ey[i]+1e-3)/(Ex[i]+1e-3)); g[i] = sqrt((Ey[i]+1e-3)/(Ex[i]+1e-3));
if (g[i] > 1) g[i] = 1; if (g[i] > 1) g[i] = 1;
if (silence || i > band_lp) g[i] = -1; if (silence || i > band_lp) g[i] = -1;
if (Ey[i] < 3e-3 && Ex[i] < 3e-3) g[i] = -1; if (Ey[i] < 5e-2 && Ex[i] < 5e-2) g[i] = -1;
if (vad==0 && noise_gain==0) g[i] = -1; if (vad==0 && noise_gain==0) g[i] = -1;
} }
count++; count++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment