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

Mirror Filter/ Negative Filter/Anti resonator?

For general discussion related FlowStone

Mirror Filter/ Negative Filter/Anti resonator?

Postby zoobooboozoo » Wed Oct 01, 2014 6:13 pm

Hi all,

I've built a kind of resonator filter and now I want to create a mirror image of it.
so to put it simply: if the res filter emphasizes the frequency 300hz by 24db for example I want an anti resonator to take the input and do exactly the opposite.

My goal is(and maybe someone can point out a better solution) to be able to blend to res and the anti res with a knob because my res is doing it's job too good and a lot of the character of the input signal is lost so I want the user to be able to have sort of a "spectrum compressor" that will leave the peaks created by the resonators but with an option to tone them down with the anti-res' knob.
I don't want to use a simple res+in mix cause it doesn't accurate/"tight"/"togeather" IMHO, it sounds like two different signals put togeather...

hope I'm clear, thx for all the previous & future help :)
zoobooboozoo
 
Posts: 32
Joined: Tue Sep 23, 2014 12:14 pm

Re: Mirror Filter/ Negative Filter/Anti resonator?

Postby KG_is_back » Wed Oct 01, 2014 6:55 pm

This is quite a complicated problem to cope with. When handling with bandpass filters the problem is simple - divide the output by Q and the peak will be snapped to 0dB. With highpass and lowspass is not that simple. In lowpass the resonance peak is present below the cutoff frequency. When you center a peaking filter on it and tune it down, you will notice that the peak is actually not symmetric (the left half falls slower than right half) and when you tune it down you create a notch roughly at the Cutoff. Mixing Wet+dry solves nothing - that is simply how shelving filters work and they have even two resonance peaks - one going up and one down.

To reduce the peak simply cascade multiple filters with lower Q (basically creating higher order lowpass/highpass with steeper response at low resonance).
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Mirror Filter/ Negative Filter/Anti resonator?

Postby tester » Wed Oct 01, 2014 8:22 pm

Have ypu tried "signal" minus "filtered signal" procedure? It should give you the exact opposite of filtered signal.
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: Mirror Filter/ Negative Filter/Anti resonator?

Postby zoobooboozoo » Wed Oct 01, 2014 10:00 pm

@tester: it turns out the same as the dry/wet method...

@KG: how would I calculate the Q? could only find bw(in ocataves) to q online. my bw is in hz and I'm not sure about the conversion...
zoobooboozoo
 
Posts: 32
Joined: Tue Sep 23, 2014 12:14 pm

Re: Mirror Filter/ Negative Filter/Anti resonator?

Postby KG_is_back » Wed Oct 01, 2014 10:20 pm

zoobooboozoo wrote:@tester: it turns out the same as the dry/wet method...

@KG: how would I calculate the Q? could only find bw(in ocataves) to q online. my bw is in hz and I'm not sure about the conversion...


I've found this:
http://www.rane.com/note170.html

basically the very first chapter "Given the -3 dB Points, To Find BW and Q" shows what to do.
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Mirror Filter/ Negative Filter/Anti resonator?

Postby tester » Wed Oct 01, 2014 10:26 pm

Dry/wet is a combination of a sum between unfiltered signal and filtered one. I said - substract one from another. You may test it on lowpass/highpass filters, one is in opposition to the other. "signal" - "lowpass filtered" = "identical sounding like highpass filter" (if you substract true highpass from s-l then you will get only some background artifacts).
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: Mirror Filter/ Negative Filter/Anti resonator?

Postby martinvicanek » Wed Oct 01, 2014 10:46 pm

Can you post your filter?
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: Mirror Filter/ Negative Filter/Anti resonator?

Postby MyCo » Thu Oct 02, 2014 2:02 am

Unless your filter isn't normalised or you absolutely require correct phase shifts, that what tester described is in most cases the best way to go. It doesn't require fancy recalculation of filter coeffs and is also easy to wrap your brain around it after months you haven't worked on the part.
Depending on your filter design you might have to delay the dry signal some samples before subtracting the filtered path from it.
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: Mirror Filter/ Negative Filter/Anti resonator?

Postby zoobooboozoo » Wed Oct 08, 2014 8:56 pm

I tried that method, somehow it doesn't sound natural just yet. like the resonator is too seprated/emphasized compared to the dry signal.

Why should I sample delay the subtraction? and by how many samples?
zoobooboozoo
 
Posts: 32
Joined: Tue Sep 23, 2014 12:14 pm


Return to General

Who is online

Users browsing this forum: No registered users and 47 guests