dsPIC ? DSC Acoustic Echo Cancellation Library User’s Guide
EC_apply
Description
Applies acoustic echo cancellation to the current frame of data.
Include
ec_api.h
Prototype
void EC_apply(int* ptrStateX, int* yScratchMem, int* nearEndIn,
int* farEndIn, int enable);
Arguments
ptrStateX
yScratchMem
nearEndIn
farEndIn
enable
a pointer to the X memory for this instance of AEC
a pointer to an area of scratch memory in Y RAM used by
the AEC algorithm
a pointer to the near-end speech input (S IN ) signal on buffer of
size EC_FRAME . This buffer can be in X or Y memory
a pointer to the far-end speech receive input (R IN ) signal on
buffer of size EC_FRAME . This buffer can be in X or Y memory
a flag to indicate if AEC is required for this buffer
( EC_TRUE or EC_FALSE )
Return Value
None.
Remarks
The AEC algorithm is process-in-place, meaning that the output is passed back in the
input buffer. Setting Enable to EC_FALSE returns an un-processed buffer of data, but
the AEC algorithm still adapts on the data.
Code Example
int ecStateMemX [EC_XSTATE_MEM_SIZE_INT] _XBSS(2);
int ecScratchY [EC_YSCRATCH_MEM_SIZE_INT] _YBSS(2);
int ecScratchX [EC_XSCRATCH_MEM_SIZE_INT] _XBSS(2);
.
.
.
EC_init(ecStateMemX, ecScratchX, EC_ORDER);
.
.
.
EC_apply(ecStateMemX, ecScratchY, nearEndIn, farEndIn, EC_TRUE);
DS70134F-page 42
? 2004-2011 Microchip Technology Inc.
相关PDF资料
ACM-16 CABLE MODULE FR3 16BIT 40-DIP
ACM-2X8 ACTIVE CABLE MODULE DUAL 8 BIT
ACM-8 CABLE MODULE FR3 8BIT 28/32-DIP
ACS9510EVB EVALUATION BOARD FOR ACS9510
ACS9550EVB EVALUATION BOARD FOR ACS9550
ACS9593EVB EVALUATION BOARD FOR ACS9593
AD-CCES-CORP-UNL CORP LICENSE FOR CCES UNLIMITED
AD-UCFS-SPRD PRD LIC UCFS CORE CCES 1 PROD
相关代理商/技术参数
AC300031 制造商:Microchip Technology Inc 功能描述:ACOUSTIC ACCESSORY KIT SPEECH RECOGNITION - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:SPEECH RECOGNIZE KIT ACOUSTIC
AC3000-52 制造商:GE Energy (formerly Lineage Power) 功能描述:Front-End Power Supply 制造商:Lineage Power 功能描述:Front-End Power Supply
AC3000A 制造商:Black Box Corporation 功能描述:HD VIEW TRANSMITTER
AC3000A-R2 制造商:Black Box Corporation 功能描述:HD VIEW TRANSMITTER
AC3000A-R2-W1 制造商:Black Box Corporation 功能描述:1 YEAR WARRANTY FOR AC3000A-R2
AC3000A-R2-W3 制造商:Black Box Corporation 功能描述:3 YEAR WARRANTY FOR AC3000A-R2
AC3000A-W1 制造商:Black Box Corporation 功能描述:1 year warranty for AC3000A
AC3000A-W3 制造商:Black Box Corporation 功能描述:3 year warranty for AC3000A