📄 foo
字号:
specification specifies the indices of a subsequence of the elements of the named field that are to be used as the spectral parameters. <EM>spec</EM>_<EM>rep</EM> - <EM>string</EM> A name or abbreviation for the type of spectral parame- ters. Acceptable values include "RC" (reflection coef- ficients), "LAR" (log area ratios), "AUTO" (normalized autocorrelation coefficients), "AFC" (autoregressive filter coefficients), "CEP" (cepstrum coefficients), and "LSF" (line spectral frequencies). See the docu- mentation for reps_rc(<EM>3</EM>-<EM>ESPSsp</EM>). This parameter must be explicitly specified in the parameter file unless the input file is a FEA_ANA file and the <STRONG>-G</STRONG> option is not specified. The default in that case is the con- tents of the generic header item <EM>spec</EM>_<EM>rep</EM>. <EM>power</EM>_<EM>field</EM> - <EM>string</EM> A field containing the total power of the spectrum. Either this parameter or <EM>power</EM> must be explicitly specified in the parameter file unless the input file is a FEA_ANA file and the <STRONG>-G</STRONG> option is not specified. The default in that case is "raw_power". <EM>power</EM> - <EM>float</EM> A numerical value for the total power of the spectrum. This value is used, and applies to all records, unless the parameter <EM>power</EM>_<EM>field</EM> is defined and names a field that exists in the input file. In that case, the con- tents of the named field are used instead. <EM>samp</EM>_<EM>freq</EM>_<EM>name</EM> - <EM>string</EM> The name of a generic header item that contains the sampling frequency. Either this parameter or <EM>samp</EM>_<EM>freq</EM> must be explicitly specified in the parameter file unless the input file is a FEA_ANA file and the <STRONG>-G</STRONG> option is not specified. The default in that case is "src_sf". <EM>samp</EM>_<EM>freq</EM> - <EM>float</EM> A numerical value for the sampling frequency. This values is used unless the parameter <EM>samp</EM>_<EM>freq</EM>_<EM>name</EM> is defined and names a generic header item that exists in the input file. In that case, the value of the header item takes precedence.</PRE><H2>ESPS HEADERS</H2><PRE> The values <EM>common</EM>.<EM>type</EM>, <EM>variable</EM>.<EM>refer</EM>, and <EM>hd</EM>.<EM>fea</EM>-><EM>fea</EM>_<EM>type</EM> are read from the header of the input file. The following generic header items may also read if the input is a FEA_ANA file: <EM>order</EM>_<EM>vcd</EM>, <EM>order</EM>_<EM>unvcd</EM>, <EM>src</EM>_<EM>sf</EM>, <EM>spec</EM>_<EM>rep</EM> <EM>frmlen</EM>, <EM>start</EM>, <EM>nan</EM>, and <EM>maxpulses</EM>. The following parameters are written to the header of the FEA_SPEC file: <EM>common</EM>.<EM>tag</EM>, <EM>common</EM>.<EM>prog</EM>, <EM>common</EM>.<EM>vers</EM>, <EM>common</EM>.<EM>progdate</EM>, <EM>variable</EM>.<EM>refer</EM>, <EM>frmlen</EM> (long), <EM>sf</EM> (float), <EM>frame</EM>_<EM>meth</EM> (CODED), <EM>freq</EM>_<EM>format</EM> (CODED), <EM>spec</EM>_<EM>type</EM> (CODED), <EM>contin</EM> (CODED), <EM>num</EM>_<EM>freqs</EM> (LONG). For input FEA_ANA (5 - ESPS) files, <EM>order</EM>_<EM>vcd</EM> (LONG) and <EM>order</EM>_<EM>unvcd</EM> (LONG) are added to the output file header. In addition, the input file is added as the source of the output file, and the com- mand line is added as a comment. The generic header item <EM>start</EM>_<EM>time</EM> is written in the output file. The value written is computed by taking the <EM>start</EM>_<EM>time</EM> value from the header of the input file (or zero, if such a header item doesn't exist) and adding to it the offset time (from the beginning of the input file) of the first point or record processed. If <EM>record</EM>_<EM>freq</EM> doesn't exist in the input file, it defaults to 1. Otherwise, it is copied to the output file header. This item gives the number of records per second of original data analyzed.</PRE><H2>SEE ALSO</H2><PRE> <STRONG><A HREF="../man1.html/refcof.1.html">refcof (1-ESPS)</A></STRONG>, <STRONG><A HREF="../man1.html/plotspec.1.html">plotspec (1- ESPS)</A></STRONG>, <STRONG><A HREF="../man3.html/reps_rc.3.html">reps_rc (3 - ESPSsp)</A></STRONG>, <STRONG><A HREF="../man5.html/FEA_SPEC.5.html">FEA_SPEC (5-ESPS)</A></STRONG>, <STRONG><A HREF="../man5.html/ESPS.5.html">ESPS (5-ESPS)</A></STRONG>,</PRE><H2>DIAGNOSTICS</H2><PRE> me_spec: unknown option: -<EM>letter</EM> Usage: me_spec [-n num_freqs][ - o order][ - r range][ - x debug_level][-G][-P params] ana_file spec_file me_spec: too many file names specified. me_spec: too few file names specified. me_spec: number of frequencies <EM>n</EM> is less than 2. me_spec: can't open <EM>filename</EM>: <EM>reason</EM> me_spec: <EM>filename</EM> is not an ESPS file me_spec: Can't start before beginning of file. me_spec: Last record precedes first. me_spec: Name of spec_param field not specified. me_spec: Unrecognized spectral representation. me_spec: Spectral representation not specified. me_spec: Field <EM>name</EM> and symbol "power" undefined or not float. me_spec: Neither field nor default value for power speci- fied. me_spec: Header item <EM>name</EM> and symbol "samp_freq" undefined or not float. me_spec: No header-item name or default value for sampling frequency. me_spec: Input field <EM>name</EM> undefined. me_spec: Input field <EM>name</EM> undefined or not float. me_spec: Input field length <EM>n</EM> too small. me_spec: can't allocate memory--input spectral parameters me_spec: can't allocate memory--lpc filter me_spec: can't allocate memory--reflection coefficients me_spec: unknown spectral parameter type When <EM>debug</EM>_<EM>level</EM>!=0, the reflection coefficients, average raw power, location tag, and inverse filter coefficients are listed for each record.</PRE><H2>BUGS</H2><PRE> The <EM>frame</EM>_<EM>len</EM> field in an input FEA_ANA record, defined as ``number of samples to synthesize from frame,'' is copied to the <EM>frame</EM>_<EM>len</EM> field in a spectral record, defined as ``number of samples in analysis window.'' This is invalid if the FEA_ANA file was produced by a program for which the two are different.</PRE><H2>WARNINGS</H2><PRE> In order to produce <STRONG><A HREF="../man5.html/FEA_SPEC.5.html">FEA_SPEC (5-ESPS)</A></STRONG> that can be overlaid on <STRONG><A HREF="../man5.html/FEA_SPEC.5.html">FEA_SPEC (5-ESPS)</A></STRONG> files produced by <STRONG><A HREF="../man1.html/fft.1.html">fft (1-ESPS)</A></STRONG>, the <STRONG>-G</STRONG> option should be used. This produces a generic FEA_SPEC (5 - ESPS) file without the voicing information.</PRE><H2>FUTURE CHANGES</H2><PRE></PRE><H2>AUTHOR</H2><PRE> S. Shankar Narayan. Made SDS compatible by Joe Buck. Ori- ginally called <EM>pltspc</EM>, later <EM>fanaspec</EM>. Modified for ESPS and number of frequencies made variable by Rod Johnson, Entropic Speech, Inc. Modified for FEA_ANA files by John Shore. Additions by Rod Johnson to accept spec_reps other than reflection coefficients and to accept files other than FEA_ANA files.</PRE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -