dsPIC ? DSC Acoustic Echo Cancellation Library User’s Guide
Due to the proximity of the speaker to the microphone, the sound from the speaker enters
the microphone and is sampled by the dsPIC DSC device through the codec. The device
then transmits the microphone signal to board 2 through the RS-232 interface. If a person
is speaking into the microphone connected to board 1, the signal transmitted to board 2
is a combination of the near-end speech and the undesirable acoustic echo of the far-end
speech. This combination of speech and echo can be heard on the headset connected
to board 2. In this example, board 1 represents the near-end and board 2 represents the
far-end.
When started, the program initializes with acoustic echo cancellation turned OFF,
indicated by LED1 being turned OFF and OFF being written to the LCD screen. With
acoustic echo cancellation OFF, the signal heard in the headset connected to board 2
contains noticeable echo.
The acoustic echo cancellation is enabled by pressing SW1. LED1 is now turned ON and
ON is written to the LCD, and the speech signal heard on the headset connected to
board 2 becomes echo-free.
The demonstration application program invokes the EC_apply and EC_applyNLP
functions from the AEC library to suppress the unwanted far-end echo mixed with the
near-end speech.
3.1.2
Demonstration Setup
The demo application is intended to run on a dsPICDEM 1.1 Plus development board
(not included with the software license). Use the procedures outlined in the following
sections to set up the demonstration.
3.1.2.1
CONFIGURE dsPICDEM 1.1 PLUS DEVELOPMENT BOARDS
Before applying power, you need to configure the board:
1. Set the jumper J9 (adjacent to the oscillator socket) to the SLAVE position (see
Figure 3-2 ). This setting allows the on-board Si3000 codec chip to function as a
serial clock Slave.
2. Connect the fold-up speaker to the SPKR OUT jack (J17) on board 1.
3. Connect the microphone to the MIC IN jack (J16) on board 1. Make sure the
microphone is turned on and is situated close enough to the speaker to generate
feedback into the microphone.
4. Connect the headset microphone to the MIC IN (J16) jack on board 2.
5. Connect the headset speaker to the SPKR OUT (J17) jack on board 2.
6. Connect one end of the DB9M-DB9M Null Modem Adapter to PORTB (J5) on
board 1. Then, connect one end of the RS-232 cable to the Null Modem Adapter.
7. Connect the other end of a 6 foot DB9 M/F RS-232 cable to the PORTB (J5) port
on board 2.
DS70134F-page 22
? 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