an open-source digital signal processing and sound synthesis language
about · links · contact
getpch - return pitch value from LPC analysis data file


Synopsis

pchval = getpch("lpc_analysis_file", frame_number)

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


Description

getpch will retrieve a pitch 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 pitch should be read. The time in the file will be dependent upon the frame-rate used when the LPC analysis was done.


Examples

   pval = getpch("/some/LPC/analysis_file.lpc", 268)


See Also

getamp