allpole Spectral Processing:LPC allpole allpole Allpole filter implementation using direct convolution. Description This opcode implements an allpole filter using direct convolution. Syntax ares allpole asig, kCoef[] Performance kCoef[] -- all-pole filter coefficients (iord-size array) asig -- audio input ares -- audio output This opcode is part of a suite of streaming linear prediction opcodes. It implements an allpole filter using coefficients passed to it via a k-rate array. The filter length is determined by the array size The typical application is compute the coefficients via some method and then pass these to the opcode. The set of coefficients passed to allpole need to implement a stable filter, since this is an IIR filter and stability is not guaranteed by default. The most common method of coefficient derivation is linear prediction analysis, produced for instance by lpcanal. Other methods may be employed, including direct calculation of coefficients from a known filter recipe (e.g. resonators etc). Examples Here is an example of the allpole opcode using an audio input signal as lpc source. It uses the file allpole.csd. Example of the allpole opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. Here is another example of the allpole opcode, now using a function table as lpc source. It uses the file allpole-2.csd. Another example of the allpole opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also Streaming Linear Predictive Coding (SLPC) Resynthesis