similar to: Re: speex echo cancellation limitations

Displaying 20 results from an estimated 3000 matches similar to: "Re: speex echo cancellation limitations"

2006 May 02
0
Re: speex echo cancellation limitations
Thanks for your prompt and helpful reply. In FLOAT_DIVU() it hangs at the following: while (a.m >= b.m) { e++; a.m >>= 1; } for the case where a and b are both zero (yes, division by zero). This happens from mdf.c: leak_estimate = FLOAT_EXTRACT16(FLOAT_SHL(FLOAT_DIVU(st->Pey, st->Pyy),14)); where st->Pey and st->Pyy are both zero, which happens for the
2006 May 02
3
Re: speex echo cancellation limitations
Hi Ted, Thanks a lot for this analysis. > In FLOAT_DIVU() it hangs at the following: > while (a.m >= b.m) > { > e++; > a.m >>= 1; > } > for the case where a and b are both zero (yes, division by zero). > This happens from mdf.c: True, that needs to be fixed even after I fix the rest. > leak_estimate =
2014 Feb 08
3
[PATCH 1/2] arm: Use the UAL syntax for ldr<cc>h instructions
On Fri, 7 Feb 2014, Timothy B. Terriberry wrote: > Martin Storsjo wrote: >> This is required in order to build using the built-in assembler >> in clang. > > These patches break the gcc build (with "Error: bad instruction"). Ah, right, sorry about that. > Documentation I've seen is contradictory on which order ({cond}{size} or > {size}{cond}) is correct.
2005 Nov 08
1
[PATCH] build warnings in mdf.c
Hi I just upgraded to http://svn.xiph.org/trunk/speex r10357 and got this build warning: alfredh@io:$ make -s mdf.o libspeex/mdf.c: In function 'speex_echo_cancel': libspeex/mdf.c:321: warning: statement with no effect libspeex/mdf.c:317: warning: `adapt_rate' might be used uninitialized in this function Is this intentional? In any case here is a simple fix: Index:
2005 Nov 16
2
mdf no sound issue
Jean Marc & list, Following up on this- there seems to be an issue with this calculation in mdf.c (Smooth echo energy estimate over time) Pey += Eh*Yh; Pyy += Yh*Yh; it goes too large for floating point, which seems to be caused by extremely large values in st->Rf[j], st->Yf[j] and smaller values in st->Eh[j], st->Yh[j]- things were relatively quiet
2006 Feb 03
2
Speex inner_prod()
Hi, Basically, inner_prod() can and should be adapted to the architecture it will run on. It is not really sensitive to noise, so it's possible to tweak it a lot. Also, in the current code, I saturate it to +-16384, which is OK to prevent overflows. I'm not concerned with the case of a constant -16384 value because it can't really happen in practice (especially after filtering). BTW,
2013 May 26
2
[LLVMdev] How to use WhileStmt to implement while loop in LLVM
Dear All, I have a question How could I use WhileStmt class in Stmt.h http://clang.llvm.org/doxygen/Stmt_8h_source.html to implement while loop like while(i==1){} that is required to be inserted For example, Convert x++; y++; to x++; while(i=1){} y++; from the class's constructor: WhileStmt(ASTContext &C, VarDecl *Var, Expr *cond, Stmt *body,SourceLocation WL);//I know C -->
2009 Jul 06
3
near and talk suppressed
Hi I have a question about the AEC and preprocessor. I have seen that when near end is talking for a longer time (about 10 s) without being interrupted by the far end the residual echo (or rather leak_estimate) increases making the preprocessor suppress the near end talk when it shouldn't. Is there a way to make the leakage estimate only update when far-end is present or similar in order to
2010 May 26
1
Reseting Echo State
Hello guys, I want to make echo tail parameter in my app changeable during run-time. So my question is:f Should I use speex_echo_state_reset function for this? Just call speex_echo_state_init function with new values after that? Or perform a full de-initialization and initialize echo cancellation with new tail value? I'm also using preprocessor - does the same apply to it?
2005 Nov 03
2
Re: aec
I've tried some further debugging to see what mdf is actually doing. Instead of sending: tmp_out = (float)ref[i] - st->y[i+st->frame_size] to the output, I just sent st->y[i+st->frame_size] to see what was being subtracted from the microphone input. When I open this in Audacity, I see a very small signal at about -40dBm. The actual echo in my sample has a power closer to -20dBm.
2014 Feb 07
3
[PATCH 1/2] arm: Use the UAL syntax for ldr<cc>h instructions
This is required in order to build using the built-in assembler in clang. --- celt/arm/celt_pitch_xcorr_arm.s | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/celt/arm/celt_pitch_xcorr_arm.s b/celt/arm/celt_pitch_xcorr_arm.s index 09917b1..3c4b950 100644 --- a/celt/arm/celt_pitch_xcorr_arm.s +++ b/celt/arm/celt_pitch_xcorr_arm.s @@ -309,7 +309,7 @@
2005 Nov 06
2
Re: aec
Thanks for alerting me to the new changes. I just tried the latest code from SVN, but unfortunately I still have just about the same results. The estimated echo that gets subtracted from the actual echo is such a small signal that it doesn't really result in any noticeable echo attenuation. I currently have my filter size set to 2 seconds even though the echo in my microphone file is only
2013 May 26
0
[LLVMdev] How to use WhileStmt to implement while loop in LLVM
Rasha Omar wrote: > Dear All, > > I have a question > > How could I use |WhileStmt class| in Stmt.h > > http://clang.llvm.org/doxygen/Stmt_8h_source.html > > to implement |while loop| like |while(i==1){}| that is required to be > inserted > > For example, Convert x++; y++; to x++; while(i=1){} y++; > > from the class's constructor: > >
2013 May 26
1
[LLVMdev] How to use WhileStmt to implement while loop in LLVM
No, I need to use it in LLVM pass. Could it work? On 26 May 2013 10:41, Nick Lewycky <nicholas at mxc.ca> wrote: > Rasha Omar wrote: > >> Dear All, >> >> I have a question >> >> How could I use |WhileStmt class| in Stmt.h >> >> http://clang.llvm.org/doxygen/**Stmt_8h_source.html<http://clang.llvm.org/doxygen/Stmt_8h_source.html>
2005 Nov 09
2
Re: aec
I ran some further tests on mdf and here are the results: 1. reduced tail length to 100ms, aligned mic and speaker signals to within 10ms - almost no echo attenuation 2. aligned mic and speaker signals to within 5 samples - still almost no echo attenuation 3. ran testecho using the same file for mic and speaker - very good echo cancellation (of course this is expected, but I needed to do a sanity
2010 Jun 15
2
AEC init crashes
Hello, I've just caught a strange crash in speex_echo_state_init routine. It happened only on one WinXP machine, while on others using XP, Vista and 7 everything is fine. Crash occures in mdf.c line 434: st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); Got any ideas or should I provide more information of the OS? Thanks a lot!
2004 Dec 08
3
yuv2rgb
hi all, i'm trying to code a tool to get some images from a ogg/theora file .... so basically i need to get a frame and convert to rgb ... and here is my question (sorry, i'm newbe here) ... how to convert a yuv_buffer to a rgb matrix ? i tryied diferent ways but my mistakes are bassically cause i don't understant how yuv_buffer structure works ... anybody can help? thanks a lot.
2013 Jun 07
2
Bug fix in celt_lpc.c and some xcorr_kernel optimizations
Hi JM, At line 221 in celt_lpc.c (the celt_iir function) I think you really want the RESTORE_STACK statement to be before the #endif instead of after it. Also, I couldn't help notice that your SSE code for xcorr_kernel reads more than "len" elements of "_x". I don't know if that's really a problem when running the codec, but a tool like valgrind will have a
2005 Nov 09
1
Re: aec
I'm pretty much sure of it. When I test inverting the inputs, my output is pretty much the same as my speaker signal. Whereas the way that I normally test the output is my mic signal with very little attenuation. If you are interested I can send my test files; they are about 94KB each. -Jason --- Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote: > Are you sure you're
2006 Nov 07
2
echo residue buffer size
Hi, What is the required size of the echo residue buffer in speex_echo_cancel function? The mdf.c source would suggest that it's frame_size + 1, while preprocessor.c source claims it's frame_size. Bug? Or am I missing something? I am using 1.2beta1. Thanks, Gregg