Echo Cancellation

OSS related discussion in general (i.e. not limited to Linux/Solaris/BSD)

Moderators: cesium, dev, kodachi, hannu

Echo Cancellation

Postby Subrata Dasgupta » Tue Feb 09, 2010 9:24 am

Respected Sir,
I am very much new to the OSS. So may be my question is very simple or irrelevant.

Currently I am involved in a audio/video conferencing project which use OSS for sound capturing from micro phone. Then conferencing application send this captured audio from microphone via RTP to the other participants joined in the conference.

But the main problem is there is an echo because microphone picks the audio signal which was played back by speaker. To cancel out the echo I have planned to introduce the NLMS algo in my code. But this algo takes below mentioned inputs.

1> Captured audio data from microphone.
2> The audio data which was already played by the speaker.

I can easily get the audio data from microphone by reading /dev/dsp.But I have no idea how to get the audio data which was already played back by the speaker because the application which play audio is a different application and I won't have any access to its source code.

a)Is there any way to read the already played back audio data from the soundcard ??
b)Is there any other way in OSS to cancel out echo??


Thanks
Subrata
Subrata Dasgupta
New Member
 
Posts: 1
Joined: Tue Feb 09, 2010 8:31 am

Re: Echo Cancellation

Postby cesium » Tue Feb 09, 2010 1:26 pm

How to record sound output of a program wiki page should help re: recording.

I don't know about echo, I think OSS has no special facilities here... You may want to ask the devs at oss-devel.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am


Return to General Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest