⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fea_qhist.5t

📁 speech signal process tools
💻 5T
字号:
.\" Copyright (c) 1987 Entropic Speech, Inc.; All rights reserved.\" @(#)fea_qhist.5t	1.1 8/7/87 ESI.TH FEA_QHIST 5\-ESPS 8/7/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 NAMEESPS histogram feature file subtype \- FEA_QHIST..SH SYNOPSIS.nf.ft B#include <esps/esps.h>#include <esps/fea.h>#include <esps/feaqhist.h>.fi.SH DESCRIPTION.PPThe FEA_QHIST file is a subtype of the FEA file. If \fIhd\fR is a pointer tothe header of such a file, then \fIhd\->hd.fea\->fea_type\fR == FEA_QHIST.Such files are created by calling \fIinit_feaqhist_hd\fR (3\-ESPS) after \fInew_header\fR (3\-ESPS).  .PPThe header for a FEA_QHIST file consists of the following generic header items:.PP.TScenter, box, tab(;);c | c | c | cl | l | l | l.Name;Size;Type;Enums=comb_frq;1;coded;NO,YEScomb_vcg;1;coded;NO,YEScont_pwr;1;coded;NO,YEScont_spc;1;coded;NO,YES.TE.PPThe generic header items have the following meanings:.IP comb_frqSpecifies whether or not the histogram data for different LSP center andoffset frequency indices have been combined..IP comb_vcgSpecifies whether or not the histogram data for voiced and unvoiced frameshave been combined..IP cont_pwrIndicates whether or not differences in power indices are taken continuouslyupon voicing transitions..IP cont_spcIndicates whether or not differences in spectral indices are taken on aninterframe or intraframe basis, upon voicing transitions..PPThe header of a FEA_QHIST file also contains definitions for the record fields,as given by the following table:.PP.TScenter, box, tab(;);c | c | c | c | c | c l | l | l | l | l | l.Name;Size;Rank;Dimen;Type;Enums=hist_type;1;0;NULL;short;\fIhist_types\fRdata_type;1;0;NULL;short;\fIdata_types\fRvalue;1;0;NULL;short;NULLcount;1;0;NULL;short;NULL.TE.PPIn the above table, \fIhist_types\fR and \fIdata_types\fR are arrays of thepossible values the respective fields \fIhist_type\fP and \fIdata_type\fRcan take. These are defined in the FEA_QHIST library support module\fIfeaqhistsupp.c\fP. See \fIfea\fR (5\-ESPS) for additional information onthe meaning of the table columns..PPIn most cases, programs that deal with FEA_QHIST files will use the supportroutines provided in the ESPS library and will not have to make direct useof the information in the above tables. The library routine \fIinit_feaqhist_hd\fR(3\-ESPS) creates the record fields and the generic header items..PPPrograms that deal with FEA_QHIST files do so in terms of structures of type\fIstruct feaqhist\fR \- pointers to structures of this type are returned by \fIallo_feaqhist_rec\fR (3\-ESPS); the FEA_QHIST read and write routines,\fIget_feaqhist_rec\fR (3\-ESPS) and \fIput_feaqhist_rec\fP (3\-ESPS), haveparameters of type \fIstruct feaqhist\fR. The definition of the \fIfeaqhist\fRdata structure is given in \fI<esps/feaqhist.h>\fR, and is repeated here:.nf.ta .5i 1i 1.75i    struct feaqhist    {        short	*hist_type;        short	*data_type;        short	*value;        short	*count;        struct fea_data	*fea_rec;    };.fi.PPThe record fields have the following meanings:.IP hist_typeClassification of the type of histogram. A particular histogram will havemultiple records with the same value of \fIhist_type\fR. Numerical valuesare defined in \fIfeaqhist.h\fR, with corresponding strings defined in\fIfeaqhistsupp.c\fR. Typical values are: POWER, LENGTH, SPEC_INTRA,SPEC_INTER..IP data_typeClassification of the type of datum corresponding to a particular record.Within the set of records corresponding to a given \fIhist_type\fR, thevalue of \fIdata_type\fR may vary from one record to another. Numericalvalues are defined in \fIfeaqhist.h\fR, with corresponding strings definedin \fIfeaqhistsupp.c\fR. Currently supported values are: AMP_DIFF, AMP_ESC..IP value.brGives the numerical value of the \fIdata_type\fR associated with a givenrecord, e.g., a difference of 2 between successive pulse power indicescorresponds to that record having \fIvalue\fR == 2 in the histogram with\fIhist_type\fR == POWER..IP count.brGives the number of occurrences of \fIvalue\fR in a particular histogram..IP fea_recThis is a pointer to the FEA file record in which all the FEA_QHISTinformation is stored. Programs should not use this value directly..SH SEE ALSOallo_feaqhist_rec (3\-ESPS), get_feaqhist_rec (3\-ESPS), get_genhd (3\-ESPS),init_feaqhist_hd (3\-ESPS), put_feaqhist_rec(3\-ESPS), esps (5\-ESPS),fea (5\-ESPS)..SH RECORD ELEMENT FILE STRUCTUREIn order to use this (or any other) FEA file type with a generic ESPS program(one that operates a file of arbitrary type) it is necessary to know themanner in which record elements are positioned in the file. For a FEA file,this information can be obtained by running the program \fIfea_element\fR(1\-ESPS) on the file in question..SH FILES.nf/usr/include/esps/esps.h/usr/include/esps/fea.h/usr/include/esps/feaqhist.h.SH AUTHORManual page by Jim Elliott.

⌨️ 快捷键说明

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