refcof.1

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

1
549
字号
.\" Copyright (c) 1986-1996 Entropic Speech, Inc..\" Copyright (c) 1996 Entropic Research Laboratory, Inc.; All rights reserved.TH REFCOF 1\-ESPS 01 Oct 1998.ds ]W (c) 1996 Entropic Research Laboratory, Inc..\" @(#)refcof.1	3.36 01 Oct 1998 ESI/ERL.SH "NAME".nfrefcof - computes LPC reflection coefficients via various spectrum analysis methodsxrefcof\- run \fIrefcof\fP with X Windows interactions and displays.SH SYNOPSIS.B refcof[.BI \-P " param"] [.BI \-p " range"] [.BI \-r " range] [.BI \-l " frame_len"] [.BI \-S " step"] [.BI \-w " window_type"] [ .BI \-m " method"] [.BI \-o " order"] [.BI \-e " preemphasis"] [.BI \-c " conv_test"] [.BI \-i " max_iter"] [.BI \-s " sinc_n"] [.B \-d] [.B \-Z] [.B \-z] [.BI \-x " debug_level"].I file.sd file.rc.br.B xrefcof[.BI \-{rp} " range"].I sd_file.sp.SH DESCRIPTION.PP.I refcoftakes an ESPS sampled data file,.I file.sd,and produces an ESPS FEA_ANA analysis file.I file.rccontaining the reflection coefficients corresponding to one or more fixed-length sampled-data frames.  .PPAll input frames have the same length.I frame_len(see.B \-loption).The initial point of the first frame is determined by the \fB\-p\fP option or by \fIstart\fP in the parameter file.  Initial points of any subsequent frames follow at equal intervals.I step(see.B \-Soption).Thus the 3 cases.IR step " < " frame_len,.IR step " = " frame_len,and.IR step " > " frame_len,correspond to overlapping frames, exactly abutted frames,and frames separated by gaps..PPThe number of framesis the minimum sufficient to cover a specified range of.I nanpoints (see.B \-pand .B \-Zoptions), given \fIframe_len\fP and \fIstep\fP.  The last frame ineach file may overrun the range, in which case a warning is printed.If a frame overruns the end of a file, it is normally filled out withzeros (but see \fB-Z\fP)..PPThe reflection coefficients, along with the computed values for.I raw_powerand.I lpc_power,are then stored in FEA_ANA records.  No pitch pulse information iswritten to the file..PPIf .I file.sdis "\-" then the input is read from the standard input and if.I file.rcis "\-" then the output is directed to the standard output..PPThe following spectrum analysis methods are available:.na.nh.IPAutocorrelation Method (AUTOC) \- see \fIget_auto\fP(3\-\s-1ESPS\s+1).IPCovariance Method (COV) \- see \fIcovar\fP(3\-\s-1ESPS\s+1).IPBurg Method (BURG) \- see \fIget_burg\fP(3\-\s-1ESPS\s+1).IPModified Burg Method (MBURG) \- see \fIget_burg\fP(3\-\s-1ESPS\s+1).IPFast Modified Burg Method (FBURG) \- \fIget_fburg\fP(3\-\s-1ESPS\s+1).IPStructured Covariance Methods (STRCOV and STRCOV1) \- see\fIstrcov_auto\fP(3\-\s-1ESPS\s+1),\fIstruct_cov\fP(3\-\s-1ESPS\s+1), and \fIgenburg\fP(3\-\s-1ESPS\s+1).IPVector Burg Method (VBURG) (fast approximation to structured covariance) \- see \fIget_vburg\fP(3\-\s-1ESPS\s+1).hy.ad.PPBy default, the program uses the autocorrelation method, whichapplies the standard method of computing the autocorrelation functionand the Levinson algorithm for computing the reflection coefficientsfrom the autocorrelation values.  Note that the standardautocorrelation method may yield poor results when using a smallnumber (i.e. < 100) of data samples.  The other methods can bespecified by using the \fB\-m\fP option.  The most accurate usually is STRCOV, especially for small frame lengths.  .PPThe methods AUTOC, STRCOV, and STRCOV1 operate by estimating theautocorrelation function and then transforming to reflectioncoefficients.  In these cases, the program can also optionallymultiply the autocorrelation function by a sinc function (\fB\-s\fPoption) prior to computing the reflection coefficients.  This has the effect of reducing the spectral resolution if thespectrum of these coefficients is plotted..PPOf the two structured covariance methods [2], STRCOV is consderably fasterand better behaved than STRCOV1.  We include STRCOV1 as it may beuseful in certain cases.  STRCOV uses a fast, single channel algorithm\fIstruct_cov\fP (3\-\s-1ESPS\s+1) developed by John Burg andprogrammed by Bernard Fraenkel.  STRCOV2 uses an older (but moregeneral) algorithm \fIgenburg\fP (3\-\s-1ESPS\s+1) that wasprogrammed by Daniel Wenger.  Note that the \fB-c\fP and \fB-i\fPoptions are relevant for controlling the convergence of STRCOV.The VBURG method is a fast approximation to structured covariance that was developed and programmed by John Burg and Shankar Narayan[3]. .PPIf spectral representations other than reflection coefficientsare desired, use .I transpec(1\-ESPS) or.I spectrans (1\-ESPS) on the output of .I refcof.If you want the actual spectrum, use .I me_spec(1\-ESPS) on the output of .I refcof. .PP\fIxrefcof\fP is a script that runs \fIrefcof\fP on a single frame ofdata that is specified by the range option (\fB-r\fP or \fB-p\fP) orby means of ESPS Common.  A pop-up window is used to prompt the userfor \fIwindow_type\fP, \fImethod\fP, \fIorder\fP, \fIconv_test\fP, and\fImax_iter\fP.  The results of the \fIanalysis\fP are displayed intwo pop-up windows \- one containing the reflection coefficents, andone containing a maximum-entropy power spectrum computed from thesereflection coeffiecients.  \fIxrefcof\fP makes used of \fIexprompt\fP(1\-\s-1ESPS\s+1), \fIme_spec\fP (1\-\s-1ESPS\s+1), \fIplotspec\fP(1\-\s-1ESPS\s+1), and \fIxtext\fP (1\-\s-1ESPS\s+1)..PPThe parameter prompting for \fIxrefcof\fP is performed by means of theparameter file named PWrefcof, which is normally obtained from$ESPS_BASE/lib/params.  However, if you have a file by this name inthe current directory (or if you define the environment variableESPS_PARAMS_PATH and put one on that path), it will be used instead..SH OPTIONSThe following options are supported (only \fB-r\fP or \fB-p\fP can be given for \fIxrefcof\fP):  .TP.BI \-P " param"uses the parameter file .I paramrather than the default, which is.I params..TP.BI \-p " first" : "last".TP.BI \-p " first\-last".TP.BI \-p " first" :+ "incr" "\fR [1:+999]"In the first two forms, a pair of unsigned integers specifies the range ofsampled data to analyze.  If .IR last " = " first " + " incr,the third form (with the plus sign) specifies the same range as thefirst two forms.  If .I firstis omitted, the default value of 1 is used.  If .I lastis omitted, then a default frame length of 1000 results.  If thespecified range contains points not in the file, the last frame istruncated to fit the actual data.  Both forms of the option overridethe values of.I startand.I nanin the parameter file or ESPS Common file.  If the \fB\-p\fP option isnot used, the range is determined from the ESPS Parameter or Commonfile if the appropriate parameters are present.  Note that the defaultframe length of 1000 also results if \fInan\fP is not in the parameteror Common file and if no \fB-p\fP is used..TP.BI \-r " range"\fB\-r\fP is a synonym for \fB\-p\fP..TP.BI \-l " frame_len" "\fR [0]"Specifies the length of each frame.  If the option is omitted, theparameter file is consulted.  A value of 0 (from either the option orthe parameter file) indicates that a single frame of length.I nan(see.BR \-p )is processed; this is also the default value in case.I frame_lenis not specified either with the.B \-loption or in the parameter file..TP.BI \-S " step" "\fR [" frame_len "\fR]"Initial points of consecutive frames differ by this number of samples.If the option is omitted, the parameter file is consulted,and if no value is found there, a default equal to.I frame_lenis used (resulting in exactly abutted frames).  (The same defaultapplies if \fIstep\fP is given a value of 0).  .TP.BI \-w " window_type" "\fR[RECT]"The name of the data window to apply to the data in each frame beforecomputing reflection coefficients.  If the option is omitted, theparameter file is consulted, and if no value is found there, thedefault used is a rectangular window with amplitude one.  Possiblewindow types include rectangular ("RECT"), Hamming ("HAMMING"),Hanning ("HANNING"), cosine (COS4), and triangular ("TRIANG"); see thewindow(3-ESPSsp) manual page.  If the last frame is truncated, thewindow is applied to the truncated data (e.g., a triangular window iszero at the start and end of the truncated data)..TP .BI \-m " method\fR[autoc]"Specifies the spectrum analysis method.  The default is theautocorrelation method.  Also available are the covariance method("cov"), Burg method ("burg"), modified Burg method ("mburg"), fastmodified Burg method ("fburg"), stuctured covariance ("strcov" and"strcov1"), and vector Burg ("vburg", fast approximation to structuredcovariance.  Of the two structured covariance methods, the first("strcov" is considerably faster and better behaved; "strcov1" isolder but included as it may prove useful on occasion.  If "strcov" isused, the \fB-c\fP and \fB-i\fP options become relevant.  The \fB-m\fPoption overrides the value that may be in the parameter file.  Thedefault applies only if there is no value in the parameter file..TP.BI \-e " preemphasis\fR[0.0]\fP"Specifies a preemphasis factor to apply to the input signal.

⌨️ 快捷键说明

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