Previous Up Next

19.3.1  Low-pass filtering

The lowpass command applies a simple first-order lowpass RC filter to a signal or audio clip.

Example

f:=unapply(periodic(sign(x),x,-1/880,1/880),x):; s:=apply(f,soundsec(3)):; playsnd(lowpass(createwav(s),1000))

Output: the sound of the periodic signal after applying a lowpass RC filter with cutoff 1000 Hz.


Previous Up Next