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

Zero Delay Feedback Filter

DSP related issues, mathematics, processing and techniques

Re: Zero Delay Feedback Filter

Postby tor » Tue Mar 04, 2014 4:58 pm

I guess if I should do it that way I had to have allpass on the "dry" signal with the same phase respone. There must be a smarter way to do it?
tor
 
Posts: 114
Joined: Fri Sep 24, 2010 5:54 pm

Re: Zero Delay Feedback Filter

Postby tor » Tue Mar 04, 2014 5:10 pm

In your example if you have a dry signal and subtract a band pass filter you get a positive peak at f0 just as you do with addition of the same.
tor
 
Posts: 114
Joined: Fri Sep 24, 2010 5:54 pm

Re: Zero Delay Feedback Filter

Postby MegaHurtz » Tue Mar 04, 2014 9:27 pm

You are correct, Allpass + bandpass ,) Diffuse focus worn to the brink, but got some nice results as a result.
But hey at least you get a nice shelve :) Also you can cause feedback into the allpass filter for resonance. But I gues the results will be unpredictable. And ringy..
192k @ 8ms
User avatar
MegaHurtz
 
Posts: 105
Joined: Mon Aug 11, 2008 6:29 pm
Location: Eindhoven/Nederland

Re: Zero Delay Feedback Filter

Postby martinvicanek » Tue Mar 04, 2014 11:29 pm

tor wrote:Here you have an oversampled version of it:
Can sombody (Martin?) please point me in the right direction on how to make peak and shelving filters with this structure, if possible?

Cool! 8-) No resonance peak bandwidth squeezing due to frequency warping, all the way up to Nyquist! :D But why did you remove the denormal blocker?

As MH points out, the other filter types can be obtained by mixing (and for the peak and shelving some parameter rescaling). Here is a collection of some filter types:
- Lowpass
- Highpass
- Bandpass 1 (constant skirt)
- Bandpass 2 (constant peak gain)
- Notch
- Allpass
- Peaking EQ
- Low Shelf
- High Shelf
Have fun!
Attachments
2nd_Order_ZDF_Filter_Types.fsm
Allpass filter bug fixed
(35.36 KiB) Downloaded 1626 times
Last edited by martinvicanek on Mon Mar 31, 2014 6:35 pm, edited 1 time in total.
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: Zero Delay Feedback Filter

Postby tester » Wed Mar 05, 2014 12:19 am

Okay, so... what are the cons of ZDF filters again? In what areas they are worse than the old ones?
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Zero Delay Feedback Filter

Postby tor » Wed Mar 05, 2014 12:44 am

Thank you again Martin :)
martinvicanek wrote:
tor wrote:Here you have an oversampled version of it:
Can sombody (Martin?) please point me in the right direction on how to make peak and shelving filters with this structure, if possible?

But why did you remove the denormal blocker?


Simply because I use another method :)
tor
 
Posts: 114
Joined: Fri Sep 24, 2010 5:54 pm

Re: Zero Delay Feedback Filter

Postby MegaHurtz » Wed Mar 05, 2014 2:22 pm

tester wrote:Okay, so... what are the cons of ZDF filters again? In what areas they are worse than the old ones?


They're actually kinda cool, if you dont find ways around the problems you would have otherwise.
Personally I like my TPT blocks to be somewhat at a radian frequency, and require one integrator and not so much math to do so. But this can be solved by stacking inside a new code module and recycling the math.
Heard some pretty nifty implementations, so.. I guess this would be a way to do it.
Not so shure I did this for the same reasons in other projects, under another mode of operation.
But that reflects on abstract concepts of adding memory to integrator, the world must find it usefull to name it.
192k @ 8ms
User avatar
MegaHurtz
 
Posts: 105
Joined: Mon Aug 11, 2008 6:29 pm
Location: Eindhoven/Nederland

Re: Zero Delay Feedback Filter

Postby tor » Mon Mar 24, 2014 5:14 pm

*Removed double post.
Last edited by tor on Mon Mar 24, 2014 5:16 pm, edited 2 times in total.
tor
 
Posts: 114
Joined: Fri Sep 24, 2010 5:54 pm

Re: Zero Delay Feedback Filter

Postby tor » Mon Mar 24, 2014 5:15 pm

Here you have a double precision variant of the ZDF filter.
ZDF Double Precision.fsm
(24.75 KiB) Downloaded 1302 times

I have been trying to make a version that is both double precision and oversampled, but I have failed so far :cry:
tor
 
Posts: 114
Joined: Fri Sep 24, 2010 5:54 pm

Re: Zero Delay Feedback Filter

Postby tor » Tue Mar 25, 2014 10:23 pm

If anyone want to try help me work this out, I would be happy.
ZDF-Filter-LP-OS-DP-test.fsm
(29.47 KiB) Downloaded 1291 times

There seem to me like there is an issue with the feedback/onesampledelay.

As far as i understand it is properly wired but still there is issues near nyquist.

Troggie? :D I know you have helped me with a similar issue once before :oops: If you have the time, please, please help me.
tor
 
Posts: 114
Joined: Fri Sep 24, 2010 5:54 pm

PreviousNext

Return to DSP

Who is online

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