The steps involved in forming the linear prediction coefficients are as follows.
The steps involved in forming the residual signal are as follows.
The analysis parameters are read from the parameter file.
preemphasis_factor = float ! preemphasis factor (0 to 1, default 0)
window_length = int ! analysis window length
window_offset = int ! initial offset of the center of the analysis
! window from the center of the frame (negative
! values mean that the analysis window precedes
! frame, default 0)
window_type = char ! window type (Hamming or rectangular, default
! Hamming)
frame_length = int ! frame size
LPC_number = int ! number of LPC coefficients
LPC_BW_expansion = float ! bandwidth expansion factor (1 gives no
! bandwidth expansion, default 1)
By default, the audio file header for the output file contains a standard information string.
date: 1994/01/25 19:19:39 UTC date
user: kabal@aldebaran user
program: LPanal program name
parameters: <parameters> list of analysis parameters
This information can be changed with the header information string which is
specified as one of the command line options. Structured information records
should adhere to the above format with a named field terminated by a colon,
followed by numeric data or text. Comments can follow as unstructured
information. For the purpose of this program, records are terminated by
newline characters. However in the header itself, the newline characters are
replaced by nulls. To place a newline character into the header, escape
the newline character by preceding it with a '\' character. If the first
character of the user supplied header information string is a newline
character, the header information string is appended to the standard header
information. If not, the user supplied header information string replaces
the standard header information.