search for: ref_buf

Displaying 7 results from an estimated 7 matches for "ref_buf".

Did you mean: free_buf
2008 Aug 11
2
AEC stops working in 1.2-rc1?
...and with testecho perhaps. I did the following changes to testecho.c: - changed the frame size and tail length: #define NN 80 #define TAIL 1600 - apply the delay before entering the "while" loop by adding: { int i; for (i=0; i<10; ++i) fread(ref_buf, sizeof(short), NN, ref_fd); } The result, testecho from beta3 can cancel the echo, while the rc1 version can't. I hope I made it clearer this time. Thanks Benny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/at...
2007 Mar 14
1
speex
...I am using sample files from http://www.surfnonstop.com/~bandit/speex/echocard1/ ,example 6, as input to mdf through testecho the output is fine However when I am recording the signals in echocancel.cxx in OpalEchoCanceler::ReceivedPacket taking speaker signal from echo_buf and mike signal from ref_buf, echo cancellation is not affective. Can you please tell me how exactly have you recorded the signals. How may I record such samples to test the echo cancellation. Thanks Gorun Butail The information contained in this electronic message and any attachments to this message are intended for t...
2005 Dec 20
2
回复: Re: echo canceller
I have tested the AEC by file model,but found it doesn't work!The output file I got still had echo. And I have found several version of mdf.c,could you tell me which version I should use? Now I'm using version 1.11.1.1 and under windows there have some bugs. --- Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>??: > > > haven't got the chance to sit down and look into
2005 Dec 20
1
testecho fix
...========================================================== --- libspeex/testecho.c (revision 10661) +++ libspeex/testecho.c (working copy) @@ -17,7 +17,7 @@ int main(int argc, char **argv) { int echo_fd, ref_fd, e_fd; - float noise[NN+1]; + spx_int32_t noise[NN+1]; short echo_buf[NN], ref_buf[NN], e_buf[NN]; SpeexEchoState *st; SpeexPreprocessState *den;
2007 Mar 14
0
Re: speex
....com/~bandit/speex/echocard1/ ,example 6, as input > to mdf through testecho the output is fine That's a good start indeed. > However when I am recording the signals in echocancel.cxx in > OpalEchoCanceler::ReceivedPacket taking speaker signal from echo_buf and > mike signal from ref_buf, echo cancellation is not affective. There's many things that can go wrong with AEC in general. First, I suspect Opal doesn't have very good input/output synchronisation. If your speakers are low-quality, it can have a big impact because distortion cannot be cancelled. Any other non-linea...
2009 Feb 13
0
Why speex echo cancellation is not work
...l(st, SPEEX_ECHO_SET_SAMPLING_RATE, &tmp); speex_preprocess_ctl(den, SPEEX_PREPROCESS_SET_ECHO_SUPPRESS_ACTIVE, st); //int tmp1 = 1; //speex_preprocess_ctl(den, SPEEX_PREPROCESS_SET_AGC, &tmp1); } //FILE *echo_fd, *ref_fd, *e_fd; short echo_buf[SPEEX_NN], ref_buf[SPEEX_NN], e_buf[SPEEX_NN]; SpeexEchoState *st; SpeexPreprocessState *den; char* inputBuf; ~AECHandler(void){ speex_echo_state_destroy(this->st); speex_preprocess_state_destroy(this->den); } void HookComingSound(char* buf){ speex_echo_playba...
2008 Aug 09
2
AEC stops working in 1.2-rc1?
On Sat, Aug 9, 2008 at 12:59 PM, Jean-Marc Valin < jean-marc.valin at usherbrooke.ca> wrote: > Hi Benny, > > Can you send me your pair of testecho input files that work well with > beta3 and not with rc1? I'll have a look. > > Thanks for the help. The files are on their way now, the upload will take few more minutes to complete. In the mean time let me explain more