📄 man.diff
字号:
or the corresponding parameter-file entries.This option overrides any value for.I spec_typespecified in the parameter file..TP.BI \-W " channel_width" "\fR [(see text)]\fP"The total bandwidth in mel of each triangular filter\*-i.e.the width of the base of the triangle.If the number of filters is specified explicitly (option.BR \-n ,parameter.IR num_freqs )then the default width is chosen so that the given number of bandswill cover the specified range (see.BR \-M )with 50% overlap between adjacent bands.In that case the width is.RI 2( mel_high " \- " mel_low\c.RI )/( num_freqs " + 1)."A specified value of 0 for.I channel_widthimplies use of this default value.If the number of filters is not specifiedthen the channel bandwidth must be given explicitly,either with this option or by the parameter.I channel_widthin the parameter file.This option overrides the parameter-file value..TP.B \-XThis option causes the program to write a frequency tableon the standard error output.The table liststhe filter peak frequencies and band edges in mels and in hertz.This output is also included in the debug output produced by option.B \-xwith a.I debug_levelof 2 or higher..SH ESPS PARAMETERS.PPThe following parameters may be read, if present, from the parameter file..TP.I "add_const \- float".IPConstant to be added to mel-spectral powersbefore they are written out.See option.BR \-a .(See also option.B \-mand parameter.IR mult_const. )This parameter is not read if.B \-ais specified..TP.I "band_high \- float".IPHigh limit of the range of frequencies (in hertz) to be covered.See option.BR \-H .(See also option.B \-Mand parameters.IR band_low,.IR mel_high,and.IR mel_low. )This parameter is not read if option.B \-Mor.B \-His specified or if parameter.I mel_highis also specified.A value of 0 implies use of the default value\*-see.BR \-H ..TP.I "band_low \- float".IPLow limit of the range of frequencies (in hertz) to be covered.See option.BR \-H .(See also option.B \-Mand parameters.IR band_high,.IR mel_high,and.IR mel_low. )This parameter is not read if option.B \-Mor.B \-His specified or if parameter.I mel_lowis also specified..TP.I "mel_high \- float".IPHigh limit of the range of mel-scale values to be covered.See option.BR \-M .(See also option.B \-Hand parameters.IR mel_low,.IR band_high,and.IR band_low. )This parameter is not read if.B \-Mor.B \-His specified.It takes precedence if parameter.I band_highis also specified.A value of 0 implies use of the default value\*-see.BR \-M ..TP.I "mel_low \- float".IPLow limit of the range of mel-scale values to be covered.See option.BR \-M .(See also option.B \-Hand parameters.IR mel_high,.IR band_low,and.IR band_high. )This parameter is not read if option.B \-Mor.B \-His specified.It takes precedence if parameter.I band_lowis also specified..TP.I "mult_const \- float".IPConstant by which mel-spectral powers are to be multipliedbefore being written out.See option.BR \-m .(See also option.BR \-aand parameter.IR add_const. )This parameter is not read if.B \-mis specified..TP.I "nan \- int".IPThe number of records to process.See option.BR \-r .(See also parameter.IR start. )A value of 0 implies processing all records from.I startto the end of the file; this is the default.This parameter is not read if.B \-ris specified..TP.I "num_freqs \- int".IPThe number of mel values at which spectral values will be computed.See option.BR \-n .A value of 0 implies use of the default value (see.BR \-n ).This parameter is not read if the option is specified..TP.I "spec_type \- string".IPAllowed values are "DB" and "PWR" (case-insensitive).These indicate whether to output mel-spectral powersdirectly ("PWR") or convert them to dB ("DB").See option.BR \-S .This parameter is not read if the option is specified..TP.I "start \- int".IPThe number of the first input record to process.See option.BR \-r .(See also parameter.IR nan. )This parameter is not read if.B \-ris specified..TP.I "channel_width \- float".IPThe total bandwidth in mel of each triangular filter.See option.BR \-W .This parameter is not read if the option is specified.A value of 0 implies use of the default value (see.BR \-W )..SH ESPS COMMON.PPThe ESPS common file is not accessed..SH ESPS HEADERS.PPThe output file header is an ESPS FEA_SPEC header (see.IR FEA_SPEC (5\-ESPS),.IR init_feaspec_hd (3\-ESPS)).A copy of the input header is included in the output fileas a source header.The output file is tagged if and only if the input file is tagged.If the files are tagged, the.I referfile name in the output header is copied from the input header,and the generic header item.I src_sfis copied from the input header if present;otherwise the value of.I sfis used.Output generic header items.I start_timeand.I record_freqare determined by the corresponding input header items, if present,and by the.I startrecord number..PPGeneric header items.I add_const,.I band_high,.I band_low,.I channel_width,.I mel_high,.I mel_low,.I mult_const,.I nan,and.I startare added to the output file header to record the valuesspecified with the corresponding parameters and options.The data types of the header items are DOUBLE for.I floatparameters and LONG for.I intparameters.The usual FEA_SPEC generic header item.I spec_type(see.IR FEA_SPEC (5\-ESPS))takes the CODED value SPTYP_DB or SPTYP_PWR,as determined by the parameter.I spec_typeor the argument of.BR \-S ,and the usual FEA_SPEC generic header item.I num_freqstakes the value of.I num_freqs..PPA special generic header item.I mel_freqsof type FLOATis added to record the selected set of uniformly spaced mel values.I mfor which mel-spectral values are computed.The equivalent linear frequencies (nonuniformly spaced)are recorded in the usual FEA_SPEC generic header item.I freqs(see.IR FEA_SPEC (5\-ESPS))..SH FUTURE CHANGES.PPNone contemplated..SH EXAMPLES.PP.SH ERRORS AND DIAGNOSTICS.PPThe program prints a synopsis of command-line usage and exitsif an unknown option is specifiedor if the number of file names is wrong.It exits with an error messageif.I input.specand.I output.specare the same (but not ``\-'');if.I input.specdoes not exist or is not an ESPS FEA_SPEC file;if.I freq_formatin the input file is not SYM_EDGE;if the range of record numbers (see.BR \-r )is empty or starts before the beginning of the file;if the mel-scale range to be covered (see.B \-Hand.BR \-M )is less than.I channel_width(see.BR \-W );if.B \-Hand.B \-Mare both specified;if neither.I channel_widthnor.I num_freqs(see.BR \-n )is specified;if.I channel_widthis 0 or negative;if.I num_freqs(see.BR \-n )is less than 1;if.I num_freqsis 2 or more, but the uniform interval between mel values(see.BR \-M )is 0 or less;if any of these mel values corresponds to a frequencyless than 0 or greater than the Nyquist frequency;or if an unsupported.I spec_type(see.BR \-S )is specified..SH BUGS.PPNone known..SH REFERENCES.PP[1] Steve Young, Julian Odell, Dave Ollason, Valtcho Valtchev,and Phil Woodland,.I "The HTK Book,"Entropic, 1997..SH "SEE ALSO".IR barkspec (1\-ESPS),.IR fft (1\-ESPS),.IR me_spec (1\-ESPS),.br.IR init_feaspec_hd (3\-ESPS),.IR FEA_SPEC (5\-ESPS).SH AUTHORRodney Johnson
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -