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

📄 genzfunc.3

📁 speech signal process tools
💻 3
字号:
.\" Copyright (c) 1987, 1990 Entropic Speech, Inc..\" Copyright (c) 1991 Entropic Research Laboratory, Inc.; All rights reserved.\" @(#)genzfunc.3	1.8 29 Apr 1997 ESI/ERL.ds ]W (c) 1991 Entropic Research Laboratory, Inc..TH GENZFUNC 3\-ESPSu 29 Apr 1997.ds ]W "\fI\s+4\ze\h'0.05'e\s-4\v'-0.4m'\fP\(*p\v'0.4m'\ Entropic Research Laboratory, Inc..SH NAME.nfadd_genzfunc \- create generic header items to store a filter (zfunc)get_genzfunc \- obtain a filter (zfunc) from generic header items .SH SYNOPSIS.nf.ft B#include <esps/esps.h>voidadd_genzfunc(name, filter, hd)char *name;		struct zfunc *filter;struct header *hd;	struct zfunc *get_genzfunc(name, hd)char *name;		struct header *hd;	.ft.SH DESCRIPTION.fi.I add_genzfunccreates three generic header items to store the information in the zfunc .I filter,and it stores the information in those header items.  .I get_genzfuncobtains information from three generic header items in \fIhd\fP,turns this into a zfunc, and returns a pointer to the zfunc.  The names of the generic header items are based on the "basename" .I name.  The number of numerator coefficientsand denominator coefficients are stored as two values in "\fIname_\fPsiz" as shorts.These coefficients are normally the transfer function coefficients ofa digital filter.The numerator coefficients are stored in "\fIname\fP_zeros" and the denominator coefficientsare stored in "\fIname\fP_poles" as floats.  .PP.I get_genzfuncreturns NULL if "\fIname_\fPsiz" is not a defined SHORT generic header itemor its size is not 2.  NULL is also returned if "\fIname\fP_zeros" or "\fIname\fP_poles" is not a defined FLOAT generic or has a size different from that specified in "\fIname_\fPsiz".  .SH EXAMPLE.PP.nfstruct header *ana_ih; /*ANA input header*/struct header *fea_oh; /*FEA output header*/add_genzfunc("pre_emp", ana_ih->hd.ana->pre_emp, fea_oh);.PP.nfstruct header *fea_ih; /*FEA input header*/struct header *ana_oh; /*ANA output header*/ana_oh->hd.ana->pre_emp = get_genzfunc("pre_emp", fea_ih);.fi.SH BUGSNone known..SH "SEE ALSO".nf\fIgenhd_codes\fR(3-ESPSu), \fIgenhd_list\fR(3\-ESPSu), \fIgenhd_type\fR(3\-ESPSu).fi.SH AUTHORJohn Shore  

⌨️ 快捷键说明

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