Previous Up Next

21.3.2  High-pass filtering

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

Example

To generate a synthetic signal, enter:

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

Then:

playsnd(highpass(createwav(s),5000))

Output: the sound of the periodic signal after applying a highpass RC filter with cutoff at 5000 Hz.


Previous Up Next