YasarYY
Member
Hi,
I'm studying source of AudioInputAnalog, input_adc.cpp, and have a question about the FIR filter.
For filtering, this object uses an FIR filter. I'm curious about how its parameters are calculated. The line at which the filter is defined, it's stated the filter is designed at http://t-filter.engineerjs.com/, using 176400 sample freq and int 18 bit output. But at the T-filter page, band and attenuation values are also needed. I did some trials and searching but cannot achieve the impulse params at the source code.
Can anyone help about filter design params for creating the filter impulse params at the source code?
I'm studying source of AudioInputAnalog, input_adc.cpp, and have a question about the FIR filter.
For filtering, this object uses an FIR filter. I'm curious about how its parameters are calculated. The line at which the filter is defined, it's stated the filter is designed at http://t-filter.engineerjs.com/, using 176400 sample freq and int 18 bit output. But at the T-filter page, band and attenuation values are also needed. I did some trials and searching but cannot achieve the impulse params at the source code.
Can anyone help about filter design params for creating the filter impulse params at the source code?