apoleparamsSpectral Processing:LPCapoleparamsapoleparams
Extracts allpole filter parameters from coefficients.
Description
This opcode takes an array of allpole filter coefficients and
produces an array of allpole filter parameters as frequency and
bandwidth pairs.
SyntaxkPar[]apoleparams kCoef[]
>
PerformancekCoef[] -- all-pole filter coefficients
(iord-size array)
kPar[] - filter parameters in freq-bandwidth pairs.
This opcode is part of a suite of streaming linear prediction
opcodes. It takes in an array of allpole filter parameters,
converts these to filter poles, sorts these in ascending
frequency order, and then outputs these as frequency-bandwidth
pairs. Poles at 0Hz and Nyquist frequencies are excluded, and
each pole conjugate pair is represented by a single pair of
parameters. For a filter of order M, M coefficients are
transformed into M/2 pairs of frequencies and bandwidths.
Examples
Here is an example of the apoleparams opcode using an audio input
signal as lpc source. It uses the file apoleparams.csd.
Example of the apoleparams opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoStreaming Linear Predictive Coding (SLPC) Resynthesis