NAME

getamp - return amplitude value from LPC analysis data file


SYNOPSIS

ampval = getamp("lpc_analysis_file", frame_number)

(note: This command appears to be broken. BGG, 7/2012)


DESCRIPTION

getamp will retrieve an RMS amplitude value from an LPC analysis file, possibly created by the MiXViews program. "lpc_data_file" is a string with the name of the file. This may be an absolute or relative pathname to the LPC analysis file. frame# is the analysis frame to be retrieved.


ARGUMENTS
"lpc_analysis_file"
The LPC analysis file. This may be an absolute or relative pathname to the LPC analysis file. If it is a relative pathname, it will be relative to the directory in which the CMIX command was invoked.

frame_number
The frame from which the RMS amplitude should be read. The time in the file will be dependent upon the frame-rate used when the LPC analysis was done.


EXAMPLES
   ampval = getamp("/some/LPC/analysis_file.lpc", 268)


SEE ALSO

getpch