an open-source digital signal processing and sound synthesis language
about · links · contact
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