Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Experimenting with FIRs

Post any examples or modules that you want to share here

Re: Experimenting with FIRs

Postby steph_tsf » Thu Jul 18, 2013 1:11 am

This is an upgrade featuring the Analyzer.
The .zip file contains three files.
You need to load one such file upon running the .fsm. This defines the FIR filter. There is a "Load File" button for that.
Attachments
FIR_99 coefficients.zip
(2.16 KiB) Downloaded 1626 times
FIR_99 with coeffs from a text file (Analyzer).fsm
(1.91 MiB) Downloaded 1661 times
FIR_99 with coeffs from a text file (Analyzer) (600).png
FIR_99 with coeffs from a text file (Analyzer) (600).png (92.58 KiB) Viewed 19442 times
steph_tsf
 
Posts: 249
Joined: Sun Aug 15, 2010 10:26 pm

Re: Experimenting with FIRs

Postby MyCo » Thu Jul 18, 2013 1:35 am

I've added the FIR coeff generator from Martin (from the Stream FFT project) to the FIR that I posted earlier... works quite well...
Attachments
optimized FIR Filter +Draw (MyCo).fsm
(280.81 KiB) Downloaded 1741 times
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: Experimenting with FIRs

Postby steph_tsf » Thu Jul 18, 2013 2:38 am

MyCo wrote:I've added the FIR coeff generator from Martin (from the Stream FFT project) to the FIR that I posted earlier...
Wow! Your two FIR implementations (non optimized / optimized) look impressive. They both work on "packed audio" (four channels), applying a common FIR filter (defined by an external .txt file) to four audio channels. Actually, I need to apply a different FIR filter on each of two audio channels. Is there a speed penalty when using two "packed audio" FIRs instead of using two FIRs designed for single audio ?
steph_tsf
 
Posts: 249
Joined: Sun Aug 15, 2010 10:26 pm

Re: Experimenting with FIRs

Postby MyCo » Thu Jul 18, 2013 3:19 am

I wouldn't call it penalty, but if you don't use all 4 channels, you can optimize the code by removing those memory accesses for the unused channels. This is only possible in the assembler version.
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

FIR Filter Design

Postby martinvicanek » Sun Jul 21, 2013 6:20 pm

MyCo wrote:I've added the FIR coeff generator from Martin (from the Stream FFT project) to the FIR that I posted earlier... works quite well...

Cool. 8-)
This reference was mentioned in a recent discussion over at KVR regarding FIR Filter design. Below is an implementation in FS, it is quite easy to use and fun to play with. So far it only generates filter coefficients and shows transfer functions, I haven't plugged it into an actual FIR filter yet. Comments appreciated.
FIR_Design.png
FIR_Design.png (97.43 KiB) Viewed 19423 times
Attachments
FIR_Iteration.fsm
(126.69 KiB) Downloaded 1712 times
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Previous

Return to User Examples

Who is online

Users browsing this forum: Google [Bot] and 66 guests