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

Best anti-aliasing filter?

DSP related issues, mathematics, processing and techniques

Best anti-aliasing filter?

Postby Spogg » Mon Sep 14, 2015 9:00 am

Hi you clever ones!

I fear this is going to be seen as a naive question but since there has been a lot of talk about filters it's at least a simple one I think...

Does anyone have the very best filter module to efficiently provide a brick-wall filter to kill aliasing dead? Something that removes all frequencies above say 20kHz coming out of e.g. a naive sawtooth oscillator or simple pwm source and doesn't cause any unwanted side effects like audible ringing or heavy CPU use.
I do know it must be low-pass in funcion of course but I would like to see what would be thought of as the "best" way to do it.

Cheers

Spogg
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: Best anti-aliasing filter?

Postby martinvicanek » Mon Sep 14, 2015 8:05 pm

Mr, Spogg, don't know if I am clever but so much I know: no brickwall filter whatsoever will remove aliasing once it is there. You have to prevent it from occurring in the first place.
Very steep filters will always tend to ring, that's the tradeoff.
MyCo has some very efficient decimation filters in his oversampling toolkit which he posted here some time ago.
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: Best anti-aliasing filter?

Postby Spogg » Tue Sep 15, 2015 10:02 am

Please forgive and be patient with an ageing Vulcan whose logic is not what it was.

I can now see that, having read about polyBLEP theory, that the limitation of frequencies at and above Nyquist must be done during the wave generation process and not after! So the bandwidth must be limited before the wave gets out of the DSP box and into the schematic.

My erroneous assumption was that since we must band limit (low pass) a signal before we sample it that we could do the same after it appears in digital form. This idea led to the thought that the polyBLEP process could exist outside the oscillator in a separate module and thus be useable for any waveform or signal.

Oh well... Kling akhlami buhfik

Cheers

Spogg
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England


Return to DSP

Who is online

Users browsing this forum: No registered users and 36 guests