refcof.1

来自「speech signal process tools」· 1 代码 · 共 549 行 · 第 1/2 页

1
549
字号
.TP.BI \-c " conv_test\fR[1e-5]\fP"Specifies, for the STRCOV method only (not including STRCOV1), a convergence test value.  The lower the value, the smaller the change required on each iteration before the estimator terminates, and the more iterations that normally will result.  .TP.BI \-i " max_iter\fR[20]\fP"Specifies, for the STRCOV method only (not including STRCOV1), the maximum number of iterations that the estimator will run through before terminating.  A warning will indicate if the estimatorterminates because max_iter has been exceeded. .TP.BI \-o " order\fR[15]\fP"Specifies the order (number of reflection coefficients), andoverrides the value that may be in the parameter file.  The defaultapplies only if there is no value in the parameter file.  .TP.BI \-s " sinc_n"For the AUTOC, STRCOV, and STRCOV1 methods, the autocorrelation the autocorrelation function is multiplied by the function.I sin (x / sinc_n) before computing the reflection coefficients.  In the frequencydomain this has the effect of convolving the spectrum with a boxcarfunction of width.I "f / sinc_n,"where.I fis the sampling frequency.  The value of.I sinc_nis recorded in a generic header item..TP.B \-dSpecifies that the dc component of each frame is removed before the analysis is performed.  DC revmoval takes place before windowing..TP.B \-ZIf the last frame normally would overrun the stated range,\fIrefcof\fP reads past the range to fill up the last frame; if the the last would go past the file end, the frame is filled with zoes. Use of \fB-Z\fP, inhibits this behavior by processing one less frame.The result is that the end of the last frame falls short of the statedrange.  A common use of \fB-Z\fP is to avoid getting unwanted zerosin training sequences.  .TP.B \-zSpecifies that /fIrefcof/fP operate silently, without issuing various warnings. .TP.BI \-x " debug_level" "\fR [0]"A positive value specifiesthat debugging output be printed on the standard error output.Larger values result in more output.The default is 0, for no output..br.SH ESPS PARAMETERS.PPThe parameter file is not required to be present, as there are default parameter values that apply.  If the parameter file does exist, the following parameters are read:.TP.I "start - integer".IPThe first point in the input sampled data file that is processed.  Avalue of 1 denotes the first sample in the file.  This is only readif the \fB\-p\fP option is not used.  If it is not in the parameter(or Common) file, the default value of 1 is used.  .TP.I "nan - integer".IPThe total number of data points to process.  If .I nanis 0, the whole file is processed.  .I Nanis read only if the \fB\-p\fP option is not used.  (See the discussion under \fB\-l\fP)..TP.I "frame_len - integer".IPThe number of points in each frame.  This parameter is not read if the.B \-loption is specified.  A value of 0 indicates that a single frame of length.I nanis processed; this is also the default value in case.I frame_lenis specified neither with the.B \-loption nor in the parameter file..TP.I "step \- integer"Initial points of consecutive frames differ by this number of samples.This parameter is not read if the.B \-Soption is specified.If the option is omitted and no value is found in the parameter file,a default equal to.I frame_lenis used (resulting in exactly abutted frames)..TP.I "window_type \- string"The data window to apply to the data.This parameter is not read if the command-line option.B \-wis specified.If the option is omitted and if no value is found in the parameter file,the default used is "RECT", for a rectangular window with amplitude one.Other acceptable values include"HAMMING", for Hamming, and "TRIANG", for triangular;see the window(3-ESPSsp) manual page for the complete list..TP.I "order - integer".IPThe number of reflection coefficients computed for each frame of input data.If no value is given in the file, a default value of 15 is used.  This value is not read if the command line option \fB\-o\fP is used.  .TP.I "method - string".IPThe spectrum analysis method to use.  The available methods areautocorrelation ("auto"), covariance ("covar"), Burg ("burg"),modified Burg ("mburg"), fast modified Burg method ("fburg"),stuctured covariance ("strcov" and "strcov1"), and vector Burg("vburg", a fast approximation to structured covariance.  If no valueis given in the file, the autocorrelation method is used by default.The \fImethod\fP is not read from the parameter file if the commandline option \fB\-m\fP is used..TP.I "preemphasis - float".IPThe preemphasis factor to be applied to input signal..TP.I "strcov_test - float".IPIf STRCOV is used, this is the convergence test value (the lower the value, the smaller the change per iteration before termination).  This is not read if \fB-c\fP is used. .TP.I "strcov_maxiter - int".IPIf STRCOV is used, this is the maximum number of iterations allowedbefore the estimator terminates.  This is not read if \fB-i\fP isused..PPThe values of parameters obtained from the parameter file are printedif the environment variable ESPS_VERBOSE is 3 or greater.  The defaultvalue is 3..SH ESPS COMMON.PPESPS Common is read provided that Common processing is enabled and that the .I filenameentry in Common matches .I file.sd,in which case parameters present in Common override values fromthe parameter file, which in turn may be overriden by commandline options (see the discussion in ESPS PARAMETERS and undereach option).Common is not read if .I file.sdis standard input.  If .I file.rcis not standard output and .I file.sdis not standard input, the Common parameters \fIfilename\fP (= file.sd), \fIprog\fP (= refcof), .I start,and.I nanare written to ESPS Common..PPESPS Common processing may be disabled by setting the environmentvariable USE_ESPS_COMMON to "off".  The default ESPS Common file is .espscom in the user's home directory.  This may be overidden bysetting the environment variable ESPSCOM to the desired path.  Userfeedback of Common processing is determined by the environmentvariable ESPS_VERBOSE, with 0 causing no feedback and increasinglevels causing increasingly detailed feedback.  If ESPS_VERBOSE is notdefined, a default value of 3 is assumed..SH ESPS HEADERA new file header is created for the FEA_ANA file.  The sampled data headerfrom the input header is added as a source in the output file header, andthe command line is added as a comment.  The input file \fIfile.sd\fP isset as the reference header for tags..PPThe program writes the usual values into the common part of theoutput header.  .I Refcofwrites the following values into the specified generic header itemsin the output FEA_ANA file:.nf.sp\fIorder_vcd\fP = 0\fIorder_unvcd\fP = order\fImaxpulses\fP = 1\fImaxraw\fP = 1\fImaxlpc\fP = 1\fIspec_rep\fP = RC\fIstart\fP = start\fInan\fP = nan;\fIfrmlen\fP = frame_len;\fIsrc_sf\fP = sample frequency of file.sd.fi.PPIn addition, the following generic header items are createdand filled with values used by \fIrefcof\fP: \fImethod, window_type, DC_removed, step.  \fPAll of these are CODED types, except for \fIstep\fP, which is LONG.  If a non-zero preemphasis factor is used, thenthe header item \fIpreemphasis\fR of FLOAT type is also written..PPThe generic header item \fIstart_time\fP (type DOUBLE) is written inthe output file.  The value written is computed by taking the\fIstart_time\fP value from the header of the input file (or zero, ifsuch a header item doesn't exist) and adding to it the offset time(from the beginning of the input file) of the first point processedplus one half of \fIframe_len\fP (thus, \fIstart_time\fP is middle ofthe first frame, which is appropriate since the output data representthe entire frame; without this adjustment for \fIframe_len\fP,\fIwaves\fP+ displays would not line up properly.  .PPThe generic header item \fIrecord_freq\fP (type DOUBLE) is written inthe output file.  The value is the number of output records per secondof input data..SH  SEE ALSO.PP\fIget_resid\fP (1\-\s-1ESPS\s+1), \fImask\fP (1\-\s-1ESPS\s+1),\fIget_f0\fP (1\-\s-1ESPS\s+1), .br\fIps_ana\fP (1\-\s-1ESPS\s+1),\fItranspec\fP (1\-\s-1ESPS\s+1), \fIspectrans\fP (1\-\s-1ESPS\s+1),.br\fIme_spec\fP (1\-\s-1ESPS\s+1), \fIplotspec\fP (1\-\s-1ESPS\s+1),\fIexprompt\fP (1\-\s-1ESPS\s+1), .br\fIexpromptrun\fP (1\-\s-1ESPS\s+1),\fIfft\fP (1\-\s-1ESPS\s+1), \fIcompute_rc\fP (3\-\s-1ESPS\s+1),.brFEA_ANA (5\-\s-1ESPS\s+1), FEA (5\-\s-1ESPS\s+1), FEA_SD(5\-\s-1ESPS\s+1).sp.SH BUGS.PPNone known. The program will not compute reflection coefficients of complexsignals; if presented with complex input data, it will warn and exit..SH FUTURE CHANGES.PPNone contemplated..SH REFERENCES.PP.TP[1] L. R. Rabiner and R. W. Schafer, \fIDigital Processing of Speech Signals\fP,Prentice Hall, NJ. 1978..TP[2]J.P.Burg, D.G.Luenberger, D.L.Wenger, "Estimation of StructuredCovariance Matrices" \fIProceedings of the IEEE\fP, Vol. 70, No. 9September 1982.TP[3]Shankar Narayan and J.P. Burg, "Spectral Estimation of Quasi-PeriodicData", \fIProceedings ICASSP 87\fP, pp. 944-947.  .sp.SH  AUTHOR.PPOriginal program by Brian Sublett. .PPModified extensively by John Shore.  

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?