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?
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?