lpcgetamps

Return a list of amplitude values from a LPC (Linear Predictive Coding) analysis data file.


Synopsis

ampvals = lpcgetamps(“lpc_analysis_filename”, npoles_guess, firstFrame, lastFrame [,error_threshold])


Description

lpcgetamps will retrieve a list (array) of amplitude values from an LPC analysis file, most likely created by the MiXViews program. Any subset of the total frames may be retrieved as well as all of them.


Arguments

Examples

amparray = lpcgetamps("/some/LPC/analysis_file.lpc", 0, 0, 20)
for (i = 0; i < 20; ++i) {
	printf("Amplitude[%d] is %f\n", i, amparray[i]);
}

See Also

lpcgetpitches, LPCPLAY