📄 sv-p56.c
字号:
/* v2.3 19.MAY.05============================================================================= 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: SV-P56.C, FUNCTIONS RELATED TO ACTIVE LEVEL CALCULATIONSORIGINAL BY: Simao Ferraz de Campos Neto CPqD/Telebras BrazilDATE: 19/May/2005RELEASE: 2.00PROTOTYPES: see sv-p56.h.FUNCTIONS:init_speech_voltmeter ......... initialization of the speech voltmeter state variables in a structure of type SVP56_state.speech_voltmeter .............. measurement of the active speech level of data in a buffer according to P.56. Other relevant statistics are also available.HISTORY: 07.Oct.91 v1.0 Release of 1st version to UGST. 28.Feb.92 v2.0 Correction of bug in speech_voltmeter; inclusion of test for extremes in bin_interp; use of structure to keep state variables. <simao@cpqd.br> 18.May.92 v2.1 Creation of init_speech_voltmeter and consequent changes; speech_voltmeter changed to operate with float data in the normalized range. <simao@cpqd.br> 01.Sep.95 v2.2 Added very small constant to avoid problems first detected in a DEC Alpha VMS workstation with log(0) by <gerhard.schroeder@fz13.fz.dbp.de>; generalized to all platforms <simao@ctd.comsat.com>
19.May.05 v2.3 Bug correction in bin_interp() routine, based on changes
suggested by Mr Kabal.
Upper and lower bounds are updated during the interpolation.
<Cyril Guillaum
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -