Zero Delay Feedback Filter

DSP related issues, mathematics, processing and techniques
tor
Posts: 114
Joined: Fri Sep 24, 2010 5:54 pm

Re: Zero Delay Feedback Filter

Post by tor »

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

Post by tor »

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.
User avatar
MegaHurtz
Posts: 105
Joined: Mon Aug 11, 2008 6:29 pm
Location: Eindhoven/Nederland

Re: Zero Delay Feedback Filter

Post by MegaHurtz »

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
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: Zero Delay Feedback Filter

Post by martinvicanek »

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 1811 times
Last edited by martinvicanek on Mon Mar 31, 2014 6:35 pm, edited 1 time in total.
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Zero Delay Feedback Filter

Post by tester »

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.
tor
Posts: 114
Joined: Fri Sep 24, 2010 5:54 pm

Re: Zero Delay Feedback Filter

Post by tor »

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 :)
User avatar
MegaHurtz
Posts: 105
Joined: Mon Aug 11, 2008 6:29 pm
Location: Eindhoven/Nederland

Re: Zero Delay Feedback Filter

Post by MegaHurtz »

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
tor
Posts: 114
Joined: Fri Sep 24, 2010 5:54 pm

Re: Zero Delay Feedback Filter

Post by tor »

*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

Post by tor »

Here you have a double precision variant of the ZDF filter.
ZDF Double Precision.fsm
(24.75 KiB) Downloaded 1442 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

Post by tor »

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 1472 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.
Post Reply