Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Using C,C++ for filter design

Status
Not open for further replies.

akipro

Newbie level 6
Newbie level 6
Joined
Mar 14, 2013
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,361
Hey I've got this project where I have to design a filter for a speaker. But this has to be done in C or C++ and then I've got to test it using the same. I have to use some suitable algorithm for it which is known at paper level.

Does anyone have any idea how is this carried out, specially designing the test bench for the filter.

Thanks.
 

There are a couple of standard methods for designing digital filters, google key prases to get you started "Remez exchange" "Parks–McClellan" "Direct form II".

To test, produce a chirp, feed it through the filter, plot the amplitude vs time, or feed it noise and take an FFT of the output, lots of easy to skin this.

There is a ton of open source code out there dealing with digital filters, you might find the "Music DSP archives" to be worth exploring.

73 Dan.
 

hey i already have my algorithm, what i need to know is how to implement and specially test it in C,C++ ???
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top