### 5.27.9 High-pass filtering : highpass

highpass takes two or three arguments: an audio clip or a real vector v representing the sampled signal, a real number c specifying the cutoff frequency and optionally a samplerate (which defaults to 44100). The command returns the input data after applying a simple first-order highpass RC filter.

For example, input :

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