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

📄 fir-wb.c

📁 Reference Implementation of G.711 standard and other voice codecs
💻 C
字号:
/*                                                               10.Feb.2005 v2.2  ================================================================================                          U    U   GGG    SSSS  TTTTT                          U    U  G       S       T                          U    U  G  GG   SSSS    T                          U    U  G   G       S   T                           UUU     GG     SSS     T                   ========================================                    ITU-T - USER'S GROUP ON SOFTWARE TOOLS                   ========================================       =============================================================       COPYRIGHT NOTE: This source code, and all of its derivations,       is subject to the "ITU-T General Public License". Please have       it  read  in    the  distribution  disk,   or  in  the  ITU-T       Recommendation G.191 on "SOFTWARE TOOLS FOR SPEECH AND  AUDIO       CODING STANDARDS".       =============================================================MODULE:         FIRFLT, HIGH QUALITY FIR UP/DOWN-SAMPLING FILTER                Sub-unit: 		Wideband speech filtering functions:		- P.341 send-part characteristic		- 50 Hz to 5 kHz bandpass filter (for wideband qual.tests)		- 100Hz to 5kHz bandpass filter  (for wideband qual.tests)		- 50 Hz to 14kHz bandpass filter (for a sampling frequency of 32kHz)ORIGINAL BY:                Simao Ferraz de Campos Neto (C code)		Comsat Laboratories             Tel:    +1-301-428-4516		22300 Comsat Drive              Fax:    +1-301-428-9287		Clarksburg MD 20871 - USA       E-mail: simao@ctd.comsat.com		Rosario Drogo de Iacovo (filter coefficients)		CSELT		Audio Coding and Transmission Quality  Tel: +39-11-228-5697		Via G.Reiss Romoli, 274                Fax: +39-11-228-6207		10148 Torino - ITALY     		Email: rosario.drogodeiacovo@cselt.stet.itDESCRIPTION:        This file contains procedures for FIR filtering according to the 	mask in ITU-T Recommendation P.341 for wideband telephones.FUNCTIONS:  Global (have prototype in firflt.h)  Local (should be used only here -- prototypes only in this file)  Global (have prototype in firflt.h)         = p341_16khz_init(): initialize P.341 send-part weighting filter		 = bp5k_16khz_init(): initialize 5kHz bandpass filter		 = bp100_5k_16khz_init(): initialize 100Hz-5kHz bandpass filter		 = bp14k_32khz_init(): initialize 14kHz bandpass filter  Local (should be used only here -- prototypes only in this file)         = fill_p341_16khz(...): filling filter coefficients into                                 array for P.341 send-part weighting         = fill_bp5k_16khz(...): idem, for 5kHz bandpass filtering         = fill_bp100_5k_16khz(...): idem, for 100Hz-5kHz bandpass filtering         = fill_bp14k_32khz(...): idem, for 14kHz bandpass filteringHISTORY:    31.Jul.1995 v1.0 First beta-version <simao@ctd.comsat.com>    13.May.1997 v2.0 Added 50-5000 Hz bandpass filter    28.Mar.2000 v2.1 Added type casting to float in fill_p341_16khz()                      and fill_bp5k_16khz() to eliminate compilation warnings in                      MS Visual C compiler <simao.campos@labs.comsat.com>    10.Feb.2005 v2.2 Added 50-14000 Hz bandpass filter					 Added 100-5000kHz bandpass filter						Cyril Guillaum

⌨️ 快捷键说明

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