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
Re: Zero Delay Feedback Filter
I've tried switching the filter outputs (lpf0 and lpf1 before downsampling) and it seems to fix the issue. The output seems additionally lowpassed that way (but that might be the work of oversampling lowpass filter)
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Zero Delay Feedback Filter
thank you for trying to help. but that is not the right fix. it just makes a notch at nyquist. it is correct only when the two curves entirely correspond.
- tor
- Posts: 114
- Joined: Fri Sep 24, 2010 5:54 pm
Re: Zero Delay Feedback Filter
FIXED... added one sample delay to in1 and out0 ...the feedback probably goes in opposite direction than it should be. (like x0,y0 are actually in feedback)
- Attachments
-
- ZDF filter OS DP fixed.osm
- (29.27 KiB) Downloaded 1341 times
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Zero Delay Feedback Filter
wow, thats close
i added HP and BP, but sadly the fix does not work on all filter types. so the search goes on...
and thanks a bunch for trying
i added HP and BP, but sadly the fix does not work on all filter types. so the search goes on...
and thanks a bunch for trying
- tor
- Posts: 114
- Joined: Fri Sep 24, 2010 5:54 pm
Re: Zero Delay Feedback Filter
Here, this one is fixed for good...
gotta separate the two parts of the filter to maintain right execution order. To transfer double precision values between modules I used round and difference, so the feedback is still DP.
gotta separate the two parts of the filter to maintain right execution order. To transfer double precision values between modules I used round and difference, so the feedback is still DP.
- Attachments
-
- ZDF filter OS DP fixed2.fsm
- (30.92 KiB) Downloaded 1290 times
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Zero Delay Feedback Filter
sorry KG, this behaves just like my non working version. i hope maybe Trogluddite can provide an explanation what is causing the trouble here. it is quite strange to me as the non OS version in DP works perfectly well.
- tor
- Posts: 114
- Joined: Fri Sep 24, 2010 5:54 pm
Re: Zero Delay Feedback Filter
tor wrote:sorry KG, this behaves just like my non working version. i hope maybe Trogluddite can provide an explanation what is causing the trouble here. it is quite strange to me as the non OS version in DP works perfectly well.
Now that is very strange... my fixed version works perfectly here... I'm still using Flowstone 3.0.2.0
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Zero Delay Feedback Filter
If you look at the yellow graph when you sweep filter frequency towards 20khz you see that it warps and then disappears. You have also left out the regular OS filter type selection so you can not in your example compare the regular (grey curve) and the DP (yellow curve) when selecting different filter types.
- tor
- Posts: 114
- Joined: Fri Sep 24, 2010 5:54 pm
Re: Zero Delay Feedback Filter
here's screenshot
- Attachments
-
- screenshot.png (51.57 KiB) Viewed 28314 times
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Zero Delay Feedback Filter
i see that, but what happens to the yellow curve when you change filter type to BP or HP?
*Edit: Here with me your second fix shows that the yellow curve is warped and the disappear near 20khz and the grey curve just stays at LP filter type.
*Edit: Here with me your second fix shows that the yellow curve is warped and the disappear near 20khz and the grey curve just stays at LP filter type.
- tor
- Posts: 114
- Joined: Fri Sep 24, 2010 5:54 pm
Who is online
Users browsing this forum: No registered users and 8 guests