d3 $ note ((scaleP scalePattern $ (rotR 4) $ (+ slow 8 "x" <~> ((0.25 ~>) generateMelodicSeed)) -- $ slow 4 \n $ generateMelodicSeed ))#s "[pe-gtr:8,midi]" #gain 1.2 #orbit 2 #midichan 3 inversion = (* (-1)) hush d1 $ note ((scaleP scalePattern $ off 4 ((+ 2 ).slow 2) $ off 1 (inversion.slow 2) $ off 3 (inversion.slow 3) $ off 1.5 ((+ 2).rev.slow 2) $ generateMelodicSeed ))#s "[pe-gtr:10,midi]" #gain 1 #orbit 0 #midichan 1

BLIT (Band-Limited Impulse Train)

BLIT is an algorithm for creating band-limited waveforms first outlined in the paper Alias-Free Digital Synthesis of Classic Analog Waveforms by Julias Smith and Tim Stilson. (paper available here) It can be used to generate a wide variety of waves but excels at reproducing the forms that are typically found on analog synthesizers. (eg. Saw, Square, and Triangle) The algorithm focuses on first creating a band-limited pulse wave. An ideal pulse wave contains frequency energy is all bands, and therefor can be filtered down to produce all other waveforms.

the algorithm

An approximate pulse is designed by using a sinc function whose harmonic content does not exceed 1/2 of the Nyquist frequency. This means that all filtered waves will also be band-limited.

These Impulses are sometimes stored in a table of BLITs to optimize performance.

A filter is then designed that will transform the pulse into another wave. Often this filter carries out one or several integration operations. For example, with one pass of an integrator the pulse becomes a saw wave.


The initial pulse wave is dependent on the fundamental frequency of the desired note and is only capable or generating some integer number of harmonics above this fundamental. The algorithm typically sets this integer number of harmonics to the maximum number that would not alias. As the pitch rises, harmonics are removed one by one as they pass the 1/2 Nyquist threshold. This step-wise removal of frequency can cause audible zipper noise on a glissando. For sounds that can smoothly gliss in pitch other algorithms are required.

Other modulations of the sound are not smoothly handled by that BLIT algorithm along. For example, hard-sync, commonly found on analog equipment, introduces modulation of the underlying pulse that would not be possible with BLIT alone. (see minBLEP)

Notes mentioning this note

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.