$0.00 0


In this tutorial I'll show how to build bandlimited square and triangle oscillators in...

Reaktor Tutorials

Bandlimited Square and Triangle Oscillators

In this tutorial I’ll show how to build bandlimited square and triangle oscillators in Reaktor. I’ll be working using structures and concepts first covered in 3 previous tutorials – Core Oscillators, Anti-Aliasing 1, and Anti-Aliasing 2.

After my previous tutorial, Errorsmith wrote in with a fix to the structure that allowed for pitch sweeps. I won’t be using that structure for today’s tutorial, but I will mention here that you could easily substitute in his modified structure for mine for the purpose of today’s tutorial. In general, if you plan on modulating the pitch, his version is probably a better choice. I had an idea for a fix that would add similar functionality but his way is more elegant so I would suggest using that.


The most commonly solved bandlimited oscillator is the sawtooth. I’m not sure of the reasons behind this, but it is possible to build other waveforms using a sawtooth as a building block. In fact, I’ve yet to see a bandlimited pulse or triangle oscillator that did not depend on first building a sawtooth.

A method I have found for building pulse oscillators is to use a pair of sawtooth oscillators running at the same frequency, but with different phases. Subtract one sawtooth from the other and you’re left with a pulse wave! The difference in phase becomes the width of pulse. Here’s what such a structure looks like in primary:

This results in a standard square wave:

Of course, there are far more efficient way to achieve this in primary, I only provide this structure as an example. Fortunately, the same design works perfectly with our BLIT design from before. We can use a single phase accumulator to run two BLITs – one is offset by an amount, W, that creates the width of the pulse. W can range from 0 to π.

This structure creates an interesting pulse shape:

Fortunately, the spectral data is very similar to a ‘normal’ pulse wave, however:

Anti-aliased pulse spectrum

Primary pulse spectrum

In fact, except for the frequencies above 18,000, they look identical as far as I can tell.


Once we have a pulse oscillator built, we can move on to the triangle oscillator. A basic triangle shape can be made out of integrating the output of a pulse wave. For more on integration, please check out the 2nd tutorial of this series.

For example, we can modify the Primary pulse oscillator we made earlier to make a triangle shape like so:

The integrator must be reset upon each new gate input, otherwise the oscillator can suffer from DC bias. A future tutorial in this series will focus on the creation of a DC Trap to remove such problems, which can often result from bandlimited synthesis techniques, but for now it is easy enough to work around.

Here’s the resulting waveform:

One problem we see with this design in the resulting amplitude of the triangle wave is dependant upon it’s frequency (the lower the frequency, the louder the amplitude). However, this design flaw does not translate into our bandlimited version (I think the reason for this is the leaky integrator we’ll be using will cancel this effect out, but to be honest I’m not sure).

So, as before, we can extend our design to the bandlimited realm. To do so, simply take the pulse oscillator, and integrate it!

Integrating the output of another integrator might seem a little odd, but it works. As with the bandlimited pulse and sawtooth waves, the shape of the triangle is not exactly what you would expect:

It has more of a curved shape than you would expect from a triangle wave. However, as above, you will note that the spectral data obtained from the bandlimited triangle is almost identical to a standard triangle wave:

Anti-aliased triangle spectrum

Primary triangle spectrum

One interesting aspect of this design is that the W input to the macro now controls a morph between a triangle and sawtooth wave. When the width is equal to π, the oscillator outputs a triangle. As W decreases towards 0, the wave morphs into a sawtooth. However, decreasing W has the side effect of decreasing the amplitude as well. If the user wishes to use the morph feature, I would suggest adding in a method to boost the amplitude when the width is less than π.


Here is a .zip file containing the two new bandlimited structures in this tutorial. If you wish to modulate the pitch, I suggest you use Errorsmith’s fix to rebuild the structures, which should be quite simple.

I hope you have found this tutorial useful. If you have any suggestions for future tutorials on this topic, please let me know what you’d like to see covered.


Building in Reaktor for Beginners

ADSR Courses

Add to cart

Sequencer Modules in Reaktor

ADSR Courses

Add to cart

FFT (Fast Fourier Transform) with Reaktor

ADSR Courses

Add to cart

Reaktor Core Masterclass

ADSR Courses

Add to cart
Waveform Loaded
Waveform Played
Clear all
Create an account to use wishlists
Create an account to save tutorials
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!
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!
adsrsounds.com login Video streaming login
Remember me
Forgot your password?
Create your account

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
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 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