Brick Wall LPF by Reducing Sampling Rate

Joel L's icon

Hi all,

I'm trying to create a brick wall low pass filter by lowering the sampling rate to twice the desired cutoff frequency. For example, to create a 10kHz brick wall, I would downsample to 20kHz.

I tried using the downsamp~ and degrade~ objects, but the results aren't what I'm expecting. The setup is really simple: pink~ > downsamp~/degrade~ > spectroscope~

Any idea what I'm doing wrong?

Roman Thilenius's icon


yes, you are trying to create a brick wall low pass filter by lowering the sampling rate.

Joel L's icon

Explain it to me like I'm five?

Roman Thilenius's icon


which source told you to use bitrate conversion to build a frequency filter? there are dozens of approaches, but changing the sample rate is not one of them - not even if the DAC itself would have a lowered sampling rate this would be of help here.

what make a low pass is interpolation (slide~ object), but that only gives you 3db per octave.

Jean-Francois Charles's icon

Downsampling is not going to low-pass filter your signal.
To create an approximation of a brickwall filter, you could build a high-ish order butterworth or Chebychev-2 using [filterdesign].

Joel L's icon

Got it, thanks all.

nouserid's icon

brick_c74.maxzip
maxzip 6.36 KB