Thread: Fir Filter Coefficient

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    192

    Fir Filter Coefficient

    Does anyone have any C++ or C code that can calculate the Coefficients to the filter? been trying to look online and its kinda hard to figure out when u dont have the equation for the frequency. Because Im trying to do it with an audio file.

  2. #2
    Registered User
    Join Date
    Nov 2007
    Posts
    46
    Are you sure you really have to calculate the coefficients inside your code? It isn't good enough to just determine them with another tool made for the job, and then just hard code them/load them from a file? I mean, just looking up "equiripple filter design" on Google, on the first page it gives me a Java applet for designing FIR filters, even with the source code for the applet available for download.

    It might also be easier for us to help you, if you tell us what you're trying to do with the audio file. Because "I'm trying to do it with an audio file" isn't really descriptive, like, you're trying to do what with an audio file? I'm assuming you wish to filter the audio signal in some way, but what are you trying to do? Do you have any specifications for the filter you're looking to implement?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Fir filter
    By kiros88 in forum C Programming
    Replies: 3
    Last Post: 06-18-2010, 03:02 PM
  2. Tridiagonal Matrix Algorithm
    By eholbro1 in forum C++ Programming
    Replies: 15
    Last Post: 11-04-2009, 07:30 AM
  3. Gabor Filter in C#
    By nanang in forum C# Programming
    Replies: 0
    Last Post: 05-17-2009, 08:22 PM
  4. Replies: 1
    Last Post: 12-30-2007, 10:08 AM
  5. Simple Filter
    By 00Sven in forum C Programming
    Replies: 3
    Last Post: 03-14-2006, 08:46 PM