$0.00 0

YOUR CART
Checkout

SUBTOTAL
DISCOUNT
VAT
TOTAL
Checkout
Banner
In the previous tutorial, I showed a simple one pole, low pass filter with a zero delay feedback...

In the previous tutorial, I showed a simple one pole, low pass filter with a zero delay feedback architecture. This time, we’ll pick up where we left off. I’ll start by simplifying the filter, then we’ll use it as a building block to create a model of the Korg MS-20 filter, comparing it to a model that uses a traditional feedback structure.

IMPROVING OUR ONE POLE LOW PASS

In his book, Vadim Zavalishin points out that the equation that this structure implements,

can be re-written as

Then we can say that

 and

Which makes our overall equation look like this:

This is a very easy modification to make:

Not only does this save us a bit of CPU by not multiplying by 1/(1+g) every sample (unless we actually need to), but it also makes the math coming up substantially easier. Notice that since all incoming values to the integrator are scaled by G, and s[n] is dependant upon these values, there is no further modification needed to convert s[n] to S.

MS-20 FILTER

Some time ago, I stumbled across the following diagram of the signal flow of an MS-20 filter:

The original paper can be found here. The little blocks that say Glp(s) are one pole low pass filters (we can use the filter we just designed to fulfill this role). There is a shaper in the feedback loop that will be dropped for now for simplicity’s sake. The triangle with a ‘k’ next to it is an amplifier (multiply operation) that controls the resonance, or feedback.

I have not attempted to build a high pass or band pass version of this filter yet, so we will focus on the low pass (IE, using the Xlp input).

Dropping the shaper, and high pass and bandpass outputs, our structure looks like this:

Just like we did with the one pole filter, let’s begin by trying to find an equation that describes the value of the output, which I will again refer to as y[n].

The output of the first Glp(s) block can be written as:

to which the value of k*y is immediately added. This makes the input to our second low pass equal to:

meaning the output of the second low pass (and the filter as a whole) is:

S1 is the S value of the first one pole low pass, and S2 is the S value of the second. Both filters use the same G value. Once again, we must solve for y. We can begin by multiplying using the distributive property:

Now, rearrange so that all values of y are one the same side of the equation like so:

Now, factor out y:

Finally, divide both sides by (1+G^2k-Gk)

To build a structure that realizes this equation in Reaktor, it makes sense to extend our one pole low pass to also output it’s S value. Once we do this, the macro must have it’s ‘Solid’ parameter unselected in properties.

Finally, our new structure will have two one pole structures, and each will use the same G value, so it makes sense to calculate G outside of the macro. Our new one pole macro looks like this:

Let’s build a simple structure to follow the diagram of the MS-20 filter:

k is given to have a value between 0 and 2 in the text.

Now all that is left is to calculate y  using the formula we calculated above, and use that value to calculate ky:

This leaves us with an MS-20 structure that has a substantially improved behaviour over the traditional method, in several respects: improved frequency response (IE the cutoff point is where it belongs), improved resonant behaviour (the resonance stays constant in amplitude across the structure, and better frequency range (the original filter will only accept a cutoff range between 50Hz and 10kHz).
Here’s the structure of the original filter, made using the bilinear transform:

One interesting thing I noticed when comparing the two is that they are identical with the resonance (k) turned all the way down (other than the improved cutoff range of the zero delay version). This makes perfect sense, since the behavior we have been modifying is the feedback.

CONCLUSION

I have included a sample ensemble that is a modification of the EzFFT Filter Analyzer. This ensemble contains the two MS-20 macros, and graphs them in the same area with different colors. This way you can easily compare two filters. I found this tool to be invaluable in my work for this tutorial.

Download here.

The Lin/Log switch determines whether the graph is linear or logarithmic. Log is the suggested setting, but there are times when I find a linear graph to be useful. The ensemble also includes a bandlimited sawtooth oscillator. You can use the switch to choose between the zero delay feedback (ZDF) and traditional (BiLin) filters to be applied to the sawtooth. This allows for simple A/B comparison.

The topic of zero delay feedback is pretty complicated but once you grasp it the math for simpler designs like these is not so complicated. If there are any questions, please feel free to ask in the comments.

RELATED COURSES

SAVE 40%

Creative Ways To Use Delay In Electronic Music

ADSR Courses

Add to cart
SAVE 40%

Walkthrough & Sound Design with Fabfilter Plugins

ADSR Courses

Add to cart
SAVE 40%

Delay For Electronic Producers - A Creative Guide

ADSR Courses

Add to cart
Waveform Loaded
Waveform Played
×
PLAYLIST
Clear all
WISHLISTS
Create an account to use wishlists
×
SAVE TUTORIALS
Create an account to save tutorials
×
FOLLOW YOUR FAVORITES
Follow your favourite labels, formats and genre's and ADSR will show what's new in those on your next visit.
×
  • Create product wishlist
  • Save your favorite tutorials
  • Regular discounts and exclusives
  • Never miss a sound! Follow your favorite labels.
Sign up to My ADSR to ensure you're ahead of the pack. Save your favorite content and be notified of new content. You'll never miss a thing!
Create your account now!
CREATE ACCOUNT
Sign up to My ADSR to ensure you're ahead of the pack. Save your favorite content and be notified of new content. You'll never miss a thing!
  • Get days all ADSR courses free
  • Create product wishlist
  • Save your favorite tutorials
  • Regular discounts and exclusives
Create your account now!
SIGN IN
adsrsounds.com login Video streaming login
Remember me
Forgot your password?
DON'T HAVE AN ADSR ACCOUNT?
Create your account
FORGOT PASSWORD

Send info
  1. Enter your email address
  2. Click "Send info"
  3. Check your inbox for an activation link
  4. Visit activation link and enter set new password
Sign in
DON'T HAVE AN ADSR ACCOUNT?
Create your account
IMPORTANT: Is this product compatible with your system? Please check the product system requirements tab before purchasing. To proceed with this purchase you must check the box to confirm you have checked the requirements.


I have read the system requirements and agree to the return policy. I understand that refunds will not be given due to limitation of my software or operating system.

I don't agree
, you have loyalty credit available. To redeem click the button to claim !
Claim
Claim your free sounds

For every $5 you spend on ADSR receive 1 free credit for Sample Manager.

Even better, we have back-dated this so any purchases you made since 2017 have also been credited to your account!

Click the button below to claim your free credit.

Get my free credits
Loyalty credits
1Every purchase you make on ADSR* now earns you 1 loyalty credit for every $5 spent
2Once you make a purchase your credits are added to your account
3Credits can be redeemed in ADSR Sample Manager to download individual loops and samples
4To redeem simply download ADSR Sample Manager and/or log into Sample Manager with your ADSR login details
5Credits will have been automatically added to your account
6Loyalty credits expire 30 days after initial purchase
* Not including video subscriptions