[Speex-dev] Problem in Echocancelation

boby_suresh at yahoo.com boby_suresh at yahoo.com
Sun Aug 3 23:20:19 PDT 2008


hi,
 I tried that . we did the same as in the source. but we lost voice also no voice is coming after the echo cancellation some noise is coming.  here I am sending code we used.

echo_state = speex_echo_state_init(20, 100); - to get echo state.
speex_preprocess_ctl(preprocess_state,SPEEX_PREPROCESS_SET_ECHO_STATE,echo_state);

To cancel echo
speex_echo_cancellation(echo_state, (spx_int16_t*)input, (spx_int16_t*)&FramePlayed, (spx_int16_t*)&EchoCancelledFrame);

then we encode it using
speex_encode_int(enc_state, (spx_int16_t*)&EchoCancelledFrame, &bits);

Without echo cancellation our code works properly. only after adding echo cancellation it gives problem. Can you give some help to get out of this problem.

Thank you
Suresh A




--- On Sun, 27/7/08, Jean-Marc Valin <jean-marc.valin at usherbrooke.ca> wrote:
From: Jean-Marc Valin <jean-marc.valin at usherbrooke.ca>
Subject: Re: [Speex-dev] Problem in Echocancelation
To: boby_suresh at yahoo.com
Cc: speex-dev at xiph.org
Date: Sunday, 27 July, 2008, 6:59 AM

See testecho.c in the source distribution.

	Jean-Marc

boby_suresh at yahoo.com a écrit :
> Hi,
> 
> We are using your speex codec in our VirtuvalClassRoom product. It's
> working good but we have problem using your echo canceller. Can you send
> me some code samples which use the echo cancelation?
> 
> thanks
> suresh A
> 
> 
> ------------------------------------------------------------------------
> From Chandigarh to Chennai - find friends all over India. Click here.
>
<http://in.rd.yahoo.com/tagline_groups_10/*http://in.promos.yahoo.com/groups/citygroups/>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev



      Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20080804/980d4c06/attachment.htm 


More information about the Speex-dev mailing list