man.diff

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

DIFF
437
字号
.\" Copyright (c) 1987, 1990 Entropic Speech, Inc.; All rights reserved.\" @(#)xacf.1	1.4 08 Apr 1997 ERL.TH XACF \1-ESPS 11/10/90.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..SH "NAME".nf xacf \- X-window interface for acoustic feature extractor.sp.SH "SYNOPSIS".PP.ft B acf [.BI \-P " param"] [.BI \-x " debug_level"].I acf_params.sp.SH "DESCRIPTION"\fIXacf\fP is a graphical interface to the acoustic feature generatingprogram, \fIacf\fP (1\-\s-1ESPS\s+1).  \fIAcf\fP reads a single channelFEA_SD file, extracts and windows frames of data, and produces acousticfeatures based on each frame (see the ESPS section 1 entry on \fIacf\fPfor a complete description). \fIXacf\fP presents a menu-driven interfaceby which all parameters parameters read by \fIacf\fP can be specified..PPWhen \fIxacf\fP is called, the output parameter file \fIacf_params\fPis created using the default values for all \fIacf\fP parameters.  Ifthe \-P option is provided, these default values are taken from thespecified parameter file; otherwise they are taken from the defaultfile \fIPxacf\fP (this default file is searched for along the pathESPS_PARAMS_PATH, which in turn by default contains the currentdirectory followed by $ESPS_BASE/lib/params).  If the output parameterfile exists, it is overwritten.  As the user enters parameter values,\fIxacf\fP updates the output parameter file with the new values. Theparameter entries can be restored to their default values at any timeby selecting the \fIDEFAULT\fP button. This resets the menu as well asthe values in the output parameter file. After all user parameterchoices have been made, the user can exit \fIxacf\fP by selecting the\fIDONE\fP button..PPHelp is available by selecting either the \fIAcf Man Page\fP or\fIHelp\fP buttons.  The \fIHelp\fP button produces this document..PPSeveral of the features computed by \fIacf\fP share parameters.The autocorrelation, line spectral frequencies, log area ratios,linear prediction coefficients, and reflection coefficients are all computed from the autocorrelation and all have the same order.The \fIorder\fP entries for each of these features in the \fIxacf\fP are thereforeforced to have the same value; updating one changes all. Similarly,the bilinear transformation is applied tothe FFT cepstrum and LPC cepstrum with the same warping parameter.  The warping parameter fields in the \fIxacf\fP menu for these two features are forced to take the same value..PPAn output file must be specified; standard output is not allowed..PP\fBUSAGE NOTES\fP.brThe following sequence of commands is an example of using \fIxacf\fP togenerate parameters for \fIacf\fP:.spxacf acf_params .bracf \-P acf_params speech.sd speech.fea.sp\fIXacf\fP first creates the parameter file \fIacf_params\fP based on user input. \fIAcf\fP processes the FEA_SD file \fIspeech.sd\fPusing this parameter file to produce the FEA file of acoustic features,\fIspeech.fea\fP..PPThere are several interface styles in the menu presented by \fIxacf\fP. Push button items (YES/NO selections) are selected by mouse click.  The choiceof window to apply to the data is selected by using the mouse to choose one item from the list of possible windows.  Text items, such as the framelength or various fieldnames, are entered by selecting a field bymouse button click and typing in the desired value.  Note that for textitems, the output parameter file is not updated until a carriage return is typed.For the other interface styles, the output parameter file is updated immediately..PPNote that it is possible to enter values for the parameters \fIstart\fP and \fInan\fP, but that these values are overriden by \fIacf\fP command line options..PP\fBUSE WITH WAVES+\fP.br\fIXacf\fP can be used with \fIxwaves\fP (1\-\s-1ESPS\s+1).  Suppose the shell script \fIdo_acf\fP contains the following commands.sp#! /bin/sh.brxacf acf_params.bracf -P acf_params -r $1 $2 $3.spEntering \fB add_espsf name features command do_acf\fPat the \fIxwaves\fP command prompt adds the option \fBfeatures\fP to the\fIxwaves\fP menu.  If this new option is selected, \fIdo_acf\fP is executed.  The \fIxacf\fP menu appears and, when theuser finishes entering parameter values, \fIacf\fP processes the selectedtime series segment to produce the acousticfeatures specified by the parameter values in \fIacf_params\fP. When \fIacf\fP is finished processing, \fIxwaves+\fP displays the acousticfeatures. See the \fIxwaves\fP (1\-\s-1ESPS\s+1) entry for a moredetailed description.  Note that the \fIxwaves\fP values forparameters \fIstart\fP and \fInan\fP are obtained from the command line, so entries for these values made in \fIxacf\fP are ignored..sp.SH "OPTIONS".PP.TP.BI \-P " param"If this option is specified, the default parameter values presentedby \fIxacf\fP are taken from the file \fIparam\fP.  Otherwise, theyare taken from the file \fIparam\fP..TP.BI \-x " debug_level" "\fR [0]"A positive value specifies that debugging output be printed on thestandard error output. Larger values result in more output. Thedefault is 0, for no output..sp .SH "ESPS PARAMETERS".PPThe parameters read by \fIxacf\fP are used as the default entriesin the selections presented by \fIxacf\fP.  As such, the parameters read by \fIxacf\fP are identical to those read by \fIacf\fP, and are describedhere as they are used by \fIacf\fP..PPThe following parameters are read from the appropriate parameter file: .TP.I "sd_field_name \- string".IPSpecifies the name of the field in the input file \fIsd_file\fP whichcontains the sampled data.  The default field name is "sd"..TP.I "units \- string".IPSpecifies whether the units of the parameters \fIstart\fP, \fInan\fP,\fIframe_len\fP, and \fIstep\fP are in seconds or samples.  Thereare two valid values for \fIunits\fP: "seconds" or "samples". If"seconds" is specified, the header item \fIrecord_freq\fP is usedto convert the specified values in seconds to an equivalent number ofsamples.  If "seconds" is specified and the field \fIrecord_freq\fP is not defined in the input header, or is 0, \fIacf\fP warns and exits.  The default value is "samples". This parameter is not read by \fIacf\fP ifit is called with the \fB\-r\fP or the \fB\-s\fP option..TP.I "start \- float".IPThe first point in the input sampled data file that is processed.  Thefirst sample in the file is denoted by 1 if \fIunits\fP="samples" orby 0 if \fIunits\fP="seconds".If it is not in the parameter(or Common) file, the default is to begin processing at the beginingof the file. This parameter is not read by \fIacf\fP if it is called with the \fB\-r\fP or the \fB\-s\fP option..TP.I "nan - float".IPThe total amount of data to process.  If .I nanis 0 and the input is not a pipe, the whole file is processed.If \fInan\fPis 0 and the input is a pipe, \fIacf\fP warns and exits.\fINan\fPis read by \fIacf\fP only if the \fB\-r\fP option is not used.  .TP.I "frame_len \- float".IPThe length of each frame.  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 not specified in the parameter file..TP.I "step \- float".IPInitial points of consecutive frames are separated by this amount.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 "preemphasis \- float".IPIf \fIpreemphasis\fP is not equal 0.0, the first order preemphasisfilter.br (1 - (\fIpreemphasis\fP) z^(-1)) is applied to the data.  Thepreemphasis factor must be between 0 and 1; if not, \fIacf\fP warnsand exits..TP.I "window_type \- string".IPThe data window to apply to the data.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-ESPS) manual page for the complete list..TP.I "sd_flag \- integer" .TP.I "sd_fname \- string".IPIf \fIsd_flag\fP is set to 1, the frame of windowed data is stored in the output records of \fIfea_file\fP; by default, this is not done.If \fIsd_fname\fP is defined in the parameter file,its value specifies the name of the field in which the windowed datais stored.  The default field name is "sd"..TP.I "pwr_flag \- integer"

⌨️ 快捷键说明

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