Including, generation of coefficients from the signal, reflection coefficients, line spectral frequencies, areas. More...
Modules | |
Area Functions | |
Functions | |
void | lpc2ref (const EST_FVector &lpc, EST_FVector &ref) |
void | ref2lpc (const EST_FVector &ref, EST_FVector &lpc) |
void | lpc2lsf (const EST_FVector &lpc, EST_FVector &lsf) |
void | lsf2lpc (const EST_FVector &lsf, EST_FVector &lpc) |
void | sig2lpc (const EST_FVector &sig, EST_FVector &acf, EST_FVector &ref, EST_FVector &lpc) |
void | lpc2cep (const EST_FVector &lpc, EST_FVector &cep) |
void | sig2lpc (const EST_FVector &sig, EST_FVector &lpc) |
void | sig2ref (const EST_FVector &sig, EST_FVector &ref) |
Including, generation of coefficients from the signal, reflection coefficients, line spectral frequencies, areas.
void lpc2ref | ( | const EST_FVector & | lpc, |
EST_FVector & | ref | ||
) |
Calculate the reflection coefficients from the lpc coefficients. Note that in the standard linear prediction analysis, the reflection coefficients are generated as a by-product.
Definition at line 340 of file sigpr_frame.cc.
void ref2lpc | ( | const EST_FVector & | ref, |
EST_FVector & | lpc | ||
) |
Calculate the linear prediction coefficients from the reflection coefficients. Use the equation:
Definition at line 364 of file sigpr_frame.cc.
void lpc2lsf | ( | const EST_FVector & | lpc, |
EST_FVector & | lsf | ||
) |
Calculate line spectral frequencies from linear prediction coefficients. Use the equation:
Definition at line 392 of file sigpr_frame.cc.
void lsf2lpc | ( | const EST_FVector & | lsf, |
EST_FVector & | lpc | ||
) |
Calculate line spectral frequencies from linear prediction coefficients. Use the equation:
Definition at line 399 of file sigpr_frame.cc.
void sig2lpc | ( | const EST_FVector & | sig, |
EST_FVector & | acf, | ||
EST_FVector & | ref, | ||
EST_FVector & | lpc | ||
) |
Produce the full set of linear prediction coefficients from a frame of speech waveform.
sig | the frame of input waveform |
acf | the autocorrelation coefficients |
ref | the reflection coefficients |
lpc | the LPC coefficients |
The order of the lpc analysis is given as the size of the lpc
vector - 1. The coefficients are placed in the locations 1 - size
, and the energy is placed in location 0
.
Definition at line 406 of file sigpr_frame.cc.
void lpc2cep | ( | const EST_FVector & | lpc, |
EST_FVector & | cep | ||
) |
Calculate cepstral coefficients from lpc coefficients.
It is possible to calculate a set of cepstral coefficients from lpc coefficients using the relationship:
The order of the cepstral analysis can be different from the lpc order. If the cepstral order is greater, interpolation is used (FINISH add equation). Both orders are taken from the lengths of the respective vectors. Note that these cepstral coefficients take on the assumptions (and errors) of the lpc model and hence will not be the same as cepstral coefficients calculated using DFT functions.
lpc | the LPC coefficients (input) |
lpc | the cepstral coefficients (output) |
Definition at line 291 of file sigpr_frame.cc.
void sig2lpc | ( | const EST_FVector & | sig, |
EST_FVector & | lpc | ||
) |
Produce a set linear prediction coefficients from a frame of speech waveform. sig
is the frame of input waveform, and lpc
are the LPC coefficients. The order** of the lpc analysis is given as the size of the lpc
vector -1. The coefficients are placed in the locations 1 - size, and the energy is placed in location 0.
Definition at line 231 of file sigpr_frame.cc.
void sig2ref | ( | const EST_FVector & | sig, |
EST_FVector & | ref | ||
) |
Produce a set of reflection coefficients from a frame of speech waveform. sig
is the frame of input waveform, and ref
are the LPC coefficients. The order** of the lpc analysis is given as the size of the lpc vector -1. The coefficients are placed in the locations 1 - size, and the energy is placed in location 0.
Definition at line 253 of file sigpr_frame.cc.