You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm confused about the algorithm.
in matrix-creator-hal/demos/mic_demo.cpp
at line 60 and line 61, the code is
float x = filter_bank_hp[c].Filter(mics.At(s, c));
magnitude[c] += filter_bank_lp[c].Filter(x * x);
this piece of code seems like first pass the value into high-pass filter with corresponding high-pass coefficient, and then pass the result into low-pass filter with power of 2.
Is there anyone can tell me what is the purpose of x * x? And why not directly pass the signal into a band-pass filter?
The text was updated successfully, but these errors were encountered:
arllllll10
changed the title
confused about the algorithm in mic_demo.cpp
algorithm problem in mic_demo.cpp
Jun 5, 2017
Hi,
I'm confused about the algorithm.
in matrix-creator-hal/demos/mic_demo.cpp
at line 60 and line 61, the code is
this piece of code seems like first pass the value into high-pass filter with corresponding high-pass coefficient, and then pass the result into low-pass filter with power of 2.
Is there anyone can tell me what is the purpose of x * x? And why not directly pass the signal into a band-pass filter?
The text was updated successfully, but these errors were encountered: