📄 tracks.h
字号:
/* Copyright (c) 1995 Entropic Research Laboratory, Inc. *//* @(#)tracks.h 1.2 9/26/95 ATT/ERL/ESI *//* * This material contains unpublished, proprietary software of * Entropic Research Laboratory, Inc. Any reproduction, distribution, * or publication of this work must be authorized in writing by Entropic * Research Laboratory, Inc., and must bear the notice: * * "Copyright (c) 1987-1990 AT&T, Inc. * "Copyright (c) 1986-1990 Entropic Speech, Inc. * "Copyright (c) 1990-1993 Entropic Research Laboratory, Inc. * All rights reserved" * * The copyright notice above does not evidence any actual or intended * publication of this source code. * * * Written by: * Checked by: * Revised by: * * Brief description: * */#define DEB_PAUSE 8 /* debug levels */#define DEB_LPC_PARS 4#define DEB_PARAMS 2#define DEB_ENTRY 1#ifndef TRUE#define TRUE 1#define FALSE 0#endif#define PI 3.1415927/* Structure definitions for the formant tracker.. */typedef struct form_latt { /* structure of a DP lattice node for formant tracking */ short ncand; /* # of candidate mappings for this frame */ short **cand; /* pole-to-formant map-candidate array */ short *prept; /* backpointer array for each frame */ double *cumerr; /* cum. errors associated with each cand. */} FORM;typedef struct pole_array { /* structure to hold raw LPC analysis data */ double rms; /* rms for current LPC analysis frame */ double rms2; /* rms for current F0 analysis frame */ double f0; /* fundamental frequency estimate for this frame */ double pv; /* probability that frame is voiced */ double change; /* spec. distance between current and prev. frames */ short npoles; /* # of complex poles from roots of LPC polynomial */ double *freq; /* array of complex pole frequencies (Hz) */ double *band; /* array of complex pole bandwidths (Hz) */} POLE;/* End of structure definitions for the formant tracker. */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -