📄 histo.1
字号:
.\" Copyright (c) 1987 Entropic Speech, Inc.; All rights reserved.\" @(#)histo.1 1.4 11/24/87 ESI.TH HISTO 1\-ESPS 11/24/87.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Speech, Inc..ds ]Y "\fBESI INTERNAL\fP.SH "NAME"histo \- compute histograms of frame types and 2400 bps quantization indices,for input to the Huffman table generator..SH "SYNOPSIS".B histo[.BI \-P " param_file"][.BI \-m " mode"].I " infile.fea outfile.fea".SH "DESCRIPTION".PP\fIHisto\fR computes histograms of FEA_ANA frame types, and of the quantizationindices in the expanded FEA_ANA file \fIinfile.fea\fR, and writes the resultsto the FEA_QHIST file \fIoutfile.fea\fR. A detailed description of the FEAfile subtype FEA_QHIST is given in \fIfea_qhist\fR (5\-ESPS)..PPThe type histogram is based on the number of pulses in a frame, where anunvoiced frame is taken to have a single pulse. An extension code is used tospecify the voicing in a frame with one pulse \- a histogram is gathered forthis, as well..PPThe remaining histograms are generated from intraframe and interframe differencesin the FEA_ANA extension fields \fIraw_power_idx\fR, \fIpulse_len_idx\fR, and\fIspec_param_idx\fR, which are created when \fIqlsf\fR (1\-ESPS) operates ona standard FEA_ANA file. More details regarding the auxiliary FEA_ANA recordfields can be found in \fIaux_ana\fR (5\-ESPS)..PPBy default, the histogram arrays for spectral data are stored separatelyfor voiced and unvoiced frames, as well as for different LSP center andoffset frequency indices. The \fB\-m\fR option can be used to combine thespectral histograms, as described below. No distinction between voicedand unvoiced frames is made with regard to the histograms for power orpulse length..PPOn voicing transitions, the default handling of power indices is as follows:In an unvoiced frame, the power is omitted from the histogram; in a voicedframe, the first pulse power is omitted. By default, differences in spectralindices are taken with respect to a combination of static average values andadjacent indices, for transition frames of both types. A continuous differencemode, in which voicing transitions are ignored, can be specified for eitherthe power or spectral data, using the \fB\-m\fR option..PPIf \fIinfile.fea\fR is equal to "\-", standard input is used. If \fIoutfile.fea\fRis equal to "\-", standard output is used. .SH OPTIONS.TP.BI \-P " param_file"Uses the ESPS parameter file \fIparam_file\fR, rather than the default,which is \fIparams\fR..TP.BI \-m " mode"Four modes of handling the data are supported by \fIhisto\fR. These areidentified by the strings \fIcomb_frq\fR, \fIcomb_vcg\fR, \fIcont_pwr\fR,and \fIcont_spc\fR. The former two specify combinations of the histogramarrays; the latter two control the treatment of power and spectral indicesin transition frames..IPAs mentioned above, spectral histograms are individually computed for voicedand unvoiced frames, and for different values of the LSF index, unless oneof the combination modes is invoked. The \fIcomb_frq\fR mode indicates thatthe data for different frequencies are to be combined; the \fIcomb_vcg\fRmode effects similar treatment for voiced and unvoiced data. These actionsare independent of one another, e.g., the separation among frequencies ismaintained when the voiced and unvoiced data are combined, and vice versa.To combine the data in both modes, the \fB\-m\fR option must be invoked foreach mode..IPThe default handling of power and spectral indices on voicing transitionscan likewise be overridden by the \fIcont_pwr\fR and \fIcont_spc\fR modes ofthe \fB\-m\fR option. The \fIcont_pwr\fR mode indicates that continuousdifferences in power indices are to be taken: In a voiced frame, the changein index from the previous (unvoiced) frame to the first pulse power iscomputed; in an unvoiced frame, the index change from the last pulse powerof the previous (voiced) frame to the current frame is taken. The\fIcont_spc\fR mode specifies that interframe differences in the spectralindices are to be computed. The reference frame in this case is the mostrecent frame of the same type..SH "ESPS PARAMETERS".PPThe parameters \fIu_lsf_avg\fR and \fIv_lsf_avg\fR are read from the parameterfile. These are arrays of type \fBint\fR, which specify the respective long-termaverage values of the quantization indices for unvoiced and voiced LSFs. The arrays should have a maximum length of MAX_ORD, a constant defined in\fI<esps/feaqhist.h>\fR..SH ESPS COMMON.PPESPS Common is not used..SH ESPS HEADERS.PPThe parameters \fIlsf_quant\fR, \fIpitch_quant\fR, and \fIpower_quant\fRare read from the generic header of the input file. These are used to determinewhether or not the file has been quantized by \fIqlsf\fR (1\-ESPS). The followinggeneric header items are also read: \fIorder_unvcd\fR, \fIorder_vcd\fR, and\fIuvced_frmlen\fR..PPA new file header is created for the output file. The input file header isadded as a source in the output header, and the command line is added to thecomment field..SH "FUTURE CHANGES".PPA number of modifications to \fIhisto\fR will be required to complete thedesign of the 2400 bps bitstream. Details are given in [1]..SH WARNINGS.PP\fIHisto\fR issues a warning and exits if \fIinfile.fea\fR is not a FEA_ANAfile, or if it lacks the generic header items which are written by \fIqlsf\fR(1\-ESPS)..SH "SEE ALSO".PPhuffgen (1\-ESPS), qlsf (1\-ESPS), aux_ana (5\-ESPS), fea_qhist (5\-ESPS)..SH "BUGS".PPNone known..SH REFERENCES.PP[1] ETM-S-87-08:jpe, \fIRemaining Tasks in the 2400 bps Coding Development\fR,Version 1.0, 07/13/87..SH "AUTHOR".PPProgram and manual page by Jim Elliott.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -