Filters

To get started, boot the server.

Load Guitar Sound

This notebook uses a guitar loop to demonstrate properties of filters. Store the sound in the buffer. If using the SC IDE use the first cell to get the path of the lecture folder. If using the notebook, use the second cell.

Test below to make sure everything works. Note the guitar sound is mono.

Low Pass Filter

A low pass filter works by attentuating the frequencies above some cutoff frequency while retaining the magnitude of the frequencies below the cutoff frequency. SuperCollider has a second-order lowpass filter called LPF.

We can test the effect of a low pass filter on white noise. Why white noise? Because white noise has equal energy across the frequency spectrum.

Now compare the white noise after it has been filtered through the lowpass signal.

Stop the sound.

Let's also hear how a lowpass filter sounds with the guitar loop from above.

Now play the guitar through the lowpass filter.

Stop the sound.

Resonant Lowpass Filter

Test the resonant lowpass filter on noise.

Try changing some of the filter parameters.

High Pass Filter

Listen to the high pass filter on noise.

Listen to the lowpass filter on a guitar.

Bandpass Filter

Test with noise.

Test with guitar.

The End!