I need to get coefficients for my FIR filter. I know my pass band lets say between 350 - 400 Hz And my stop band(s) lets say 200 - 250 and 500 - 500 Hz, The other regions in the spectrum I simply don't care. I want the Filter to be relaxed in this regions so be more effective in pass and stop bands.

I am looking for a library with a simple interface that I will just give passband and stop bands and number of taps. Than I will get my coefficients.

What I found is aquila example, but I couldn't see how can I define relaxed regions.

Can you please advise me a C/C++ library with relaxed, pass, stop bands and easy to use even for a computer scientist?

  • 3
    $\begingroup$ Why don't you design the filter in one of the many available packages (Octave, SciPy, etc.) and use the resulting coefficients in your filter implementation? $\endgroup$
    – Matt L.
    Feb 20 '16 at 13:01
  • $\begingroup$ I need information on run time I have a big application depending on this coeffecients. $\endgroup$ Feb 20 '16 at 13:03
  • 2
    $\begingroup$ So you need to continually re-design the filter in real-time and it's no option to store coeffs for different specs in tables? $\endgroup$
    – Matt L.
    Feb 20 '16 at 13:04
  • $\begingroup$ Yes, I am doing microphone array simulation with speaker verification. I found the speaker on run time in the room that run in simulation via speaker verification. And I find the strong noises by their energy in the same radius. Their location can be changed according to the setup. I need to put nulls in to positions of noises and ones in to position of speaker rest regions can be relaxed. Coefficients will assign to my mic. array aparture weights. $\endgroup$ Feb 20 '16 at 13:17
  • 2
    $\begingroup$ Wouldn't you normally do this with an adaptive filter, not with a fixed filter that is changed all the time? $\endgroup$
    – Matt L.
    Feb 20 '16 at 13:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.