pit.h
上传用户:luckfish
上传日期:2021-12-16
资源大小:77k
文件大小:1k
- /*
- 2.4 kbps MELP Proposed Federal Standard speech coder
- version 1.2
- Copyright (c) 1996, Texas Instruments, Inc.
- Texas Instruments has intellectual property rights on the MELP
- algorithm. The Texas Instruments contact for licensing issues for
- commercial and non-government use is William Gordon, Director,
- Government Contracts, Texas Instruments Incorporated, Semiconductor
- Group (phone 972 480 7442).
- */
- /*
- pit.h: include file for pitch subroutines
-
- */
- /* External function definitions */
- float double_chk(float sig_in[], float *pcorr, float pitch, float pdouble, int pmin, int pmax, int lmin);
- void double_ver(float sig_in[], float *pcorr, float pitch, int pmin, int pmax, int lmin);
- float find_pitch(float sig_in[],float *pcorr,int lower,int upper,int length);
- float frac_pch(float sig_in[], float *corr, float pitch, int range, int pmin, int pmax, int lmin);
- float pitch_ana(float speech[], float resid[], float pitch_est, float pitch_avg, float *pcorr2);
- void pitch_ana_init(int pmin, int pmax, int fr, int lpf_ord, int lmin);
- float p_avg_update(float pitch, float pcorr, float pthresh);
- void p_avg_init(float pdecay, float default_pitch, int num_good);