clfilt Signal Modifiers:Standard Filters clfilt clfilt Implements low-pass and high-pass filters of different styles. Description Implements the classical standard analog filter types: low-pass and high-pass. They are implemented with the four classical kinds of filters: Butterworth, Chebyshev Type I, Chebyshev Type II, and Elliptical. The number of poles may be any even number from 2 to 80. Syntax ares clfilt asig, kfreq, itype, inpol [, ikind] [, ipbr] [, isba] [, iskip] Initialization itype -- 0 for low-pass, 1 for high-pass. inpol -- The number of poles in the filter. It must be an even number from 2 to 80. ikind (optional) -- 0 for Butterworth, 1 for Chebyshev Type I, 2 for Chebyshev Type II, 3 for Elliptical. Defaults to 0 (Butterworth) ipbr (optional) -- The pass-band ripple in dB. Must be greater than 0. It is ignored by Butterworth and Chebyshev Type II. The default is 1 dB. isba (optional) -- The stop-band attenuation in dB. Must be less than 0. It is ignored by Butterworth and Chebyshev Type I. The default is -60 dB. iskip (optional) -- 0 initializes all filter internal states to 0. 1 skips initialization. The default is 0. Performance asig -- The input audio signal. kfreq -- The corner frequency for low-pass or high-pass. Examples Here is an example of the clfilt opcode as a low-pass filter. It uses the file clfilt_lowpass.csd. Example of the clfilt opcode as a low-pass filter. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. Here is an example of the clfilt opcode as a high-pass filter. It uses the file clfilt_highpass.csd. Example of the clfilt opcode as a high-pass filter. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also Standard filters: General filters Credits Author: Erik Spjut New in version 4.20