www.pudn.com > ETSI_ES_202_212_software.rar > dsrAfeVad.h
/*=============================================================================== * ETSI ES 202 212 Distributed Speech Recognition * Extended Advanced Front-End Feature Extraction Algorithm & Compression Algorithm * Speech Reconstruction Algorithm. * C-language software implementation * Version 1.1.1 October, 2003 *===============================================================================*/ /*------------------------------------------------------------------------------- * * FILE NAME: dsrFeVad.h * PURPOSE: Declaration of Voice Activity Detection function * *-------------------------------------------------------------------------------*/ #ifndef DSR_FE_VAD_H #define DSR_FE_VAD_H /*---------------------------------------------------------------------------- * FUNCTION NAME: dsr_fe_vad * * PURPOSE: Detects the Voice Activity at the DSR Front-End * * INPUT: * pfMFBOutArray[0:NUM_CHAN-1] - Array of Mel-Filter bank outputs * * OUTPUT * piHangOverFlag - This flag is set if the current frame is * a hang-over frame * pfSnr - Current estimate of the SNR (filtered) * * RETURN VALUE * iVad - The VAD value is returned * *---------------------------------------------------------------------------*/ X_INT16 dsr_afe_vad(X_FLOAT32 *pfMFBOutArray, X_INT16 *piHangOverFlag, X_FLOAT32 *pfSnr); #endif