search for: echo_diagnost

Displaying 20 results from an estimated 20 matches for "echo_diagnost".

Did you mean: echo_diagnostic
2013 Jan 07
0
Something wrong with echo_diagnostic.m
Hello everyone, I'm a new comer to this mailing list. I found that the echo_diagnostic.m included in speex-1.2rc1 seems to have grammar mistakes which cause parse error in octave 3.6.2. I wonder if anyone have ever executed this code under octave/matlab. I also made some minor modifications to the file to correct those errors and publish it here. If it can helps the project to...
2007 Apr 14
0
echo diagnostic script improvement
...d for matrix creation (1024) has to be replaced with variable from function parameter. I'm not sure, if octave displaying messages while executing script or only on success completion, however it would be good to have more stages displayed during processing action. It's also not clear why echo_diagnostic function freeze sometimes and after applying Ctrl+C and restarting it again, working fine. final question is, if it's possible to use regular .sw files for aec_rec.sw and aec_play.sw parameters instead of special hardcoded filenames. If yes, what is necessary to do in order to be able to sup...
2014 Feb 07
0
Speex-dev Digest, Vol 115, Issue 2
Hi, Rhett, echo_diagnostic.m can produce an echo canceled file along with the possible warning messages. Can it cancel the echo properly? It may announce the "Drift estimate is ..." message if the recorded sound contains not only echo but also other sound like a near-end speech. In other cases, it may truly indi...
2007 Mar 22
2
Echo cancellation diagnostic code
> Thanks for the great work. It indeed helps to diagnose of echo > canceller and narrow down the > problem area. Good, so it worked for you? > I am not an expert in the signaling processing but I > wonder if it is possible > to add the linearity check in the echo_diagnostic function? Theoretically, yes. In practice, I'm not sure how accurate it would be. Do you have any samples you know have non-linear distortion? Jean-Marc > Thanks, > William > > On 3/16/07, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote: >> Hi everyone, &gt...
2014 Feb 04
0
Struggling with AEC and OpenSL
...OpenSL, I make calls to Speex AEC. Everything is working in a frame size of 160 samples (10ms of audio). The source file is mono. Obviously, I'm writing because I'm not able to ever cancel the echo. I compiled Speex to dump the internal state of the echo canceler, and I found a copy of echo_diagnostic.m online which works. Initially, echo_diagnostic was telling me I had a far-end-to-near-end delay of 2700-3000 samples, varying from test to test. So, I developed a buffering system to delay the calls to speex_echo_playback(). With approximately 16 frames worth of delay buffer, I have been abl...
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
...time, the echo cancellation is just like it does not exist. The output from speex_echo_cancellation is "similar" to input_frame ("similar" in term of what I hear). I have adjusted the delay between echo_frame and input_frame so that the delay is small. Below is the output from echo_diagnostic.m: octave-2.9.13.exe:61> echo_diagnostic('aec_rec2.sw', 'aec_play2.sw', 'aec_diagnostic.sw', 1024); Far end to near end delay is 203 samples Delay looks OK. Drift estimate is 0.000000% (0 samples) A drift of a few (+-10) samples is normal. I do not have any clue to...
2007 Mar 16
1
Echo cancellation diagnostic code
...in the compilation (sorry configure switch for now). With that, the AEC will automatically save the near-end, far-end and output signals to files (aec_rec.sw aec_play.sw and aec_out.sw). These are exactly what the AEC receives and outputs. >From there, you'll need to start Octave and type: echo_diagnostic('aec_rec.sw', 'aec_play.sw', 'aec_diagnostic.sw', 1024); (the value of 1024 is the filter length and can be changed) There will be some (possibly) useful messages printed and echo cancelled audio will be saved to aec_diagnostic.sw . If even that output is bad (almost no...
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
...have just used a human voice to replace the sine wave, but the result is like a broken voice after tens of seconds. Do you have some sample voice in .sw that I can test with? I want to have one set or a few sets of sample voice that work for my understanding and debugging. This is the output from echo_diagnostic.m in my human voice test: Far end to near end delay is 231 samples Delay looks OK. Drift estimate is 0.009063% (14 samples) There may be (not sure) excessive clock drift. Is the capture and playback done on the same soundcard? Eddy ----- Original Message ---- From: Jean-Marc Valin <jean-m...
2007 Mar 23
1
Echo cancellation diagnostic code
...o diagnose of echo >> > canceller and narrow down the >> > problem area. >> >> Good, so it worked for you? >> >> > I am not an expert in the signaling processing but I >> > wonder if it is possible >> > to add the linearity check in the echo_diagnostic function? >> >> Theoretically, yes. In practice, I'm not sure how accurate it would be. >> Do you have any samples you know have non-linear distortion? >> >> Jean-Marc >> >> > Thanks, >> > William >> > >> > On 3/1...
2009 Apr 20
2
Echo Can Tail Length
...39;m confused, I think there's a mistake somewhere. The documentation on http://speex.org/docs/manual/speex-manual/node7.html#SECTION00740000000000000000 says, " The recommended tail length is approximately the third of the room reverberation time". However, the Octave script echo_diagnostic.m has the code: if (b > .3*tail_length) printf ('This is too much delay, try delaying the far-end signal a bit\n'); This seems to mandate that the tail length should be at least 3 (or 3.33...) times the delay, which conflicts with what the manual says. Is this a mistake,...
2007 Mar 22
0
Echo cancellation diagnostic code
...he great work. It indeed helps to diagnose of echo > > canceller and narrow down the > > problem area. > > Good, so it worked for you? > > > I am not an expert in the signaling processing but I > > wonder if it is possible > > to add the linearity check in the echo_diagnostic function? > > Theoretically, yes. In practice, I'm not sure how accurate it would be. > Do you have any samples you know have non-linear distortion? > > Jean-Marc > > > Thanks, > > William > > > > On 3/16/07, Jean-Marc Valin <jean-marc.vali...
2007 Dec 05
1
AEC diagnistics generated files
Hi Guys, I am trying to incorporate the speex AEC into my RTP stack. Trying to diagnose why the echo is not being cancelled I enabled DUMP_ECHO_CANCEL_DATA as per the docs. The problem is that the dump files the AEC generates are of different size. As I understand this and looking at echo_diagnostic.m, the files are supposed to be of same size. Can someone give me a hint as to why this could be happening? Additional info: Windows WaveIn/Out API is used to work with a sound device. The format is PCM 16 8 2 Thanks much, Dmitry
2007 Dec 05
1
AEC diagnistics generated files
...ed files Hi Guys, I am trying to incorporate the speex AEC into my RTP stack. Trying to diagnose why the echo is not being cancelled I enabled DUMP_ECHO_CANCEL_DATA as per the docs. The problem is that the dump files the AEC generates are of different size. As I understand this and looking at echo_diagnostic.m, the files are supposed to be of same size. Can someone give me a hint as to why this could be happening? Additional info: Windows WaveIn/Out API is used to work with a sound device. The format is PCM 16 8 2 Thanks much, Dmitry
2009 Aug 11
2
AEC troubleshooting
...rman > *Sent:* Monday, August 10, 2009 5:40 AM > *To:* speex-dev at xiph.org > *Subject:* [Speex-dev] AEC troubleshooting > > I'm experiencing little to no damping of acoustic echo from the echo > cancellor and I can't figure out why so far. I thought I should try the > echo_diagnostic tool so I built libspeex.dll and libspeexdsp.dll with the > DUMP_ECHO_CANCEL_DATA flag, but I'm not getting any output files at runtime. > Any ideas? > Build information: > Speex version: 1.2rc1 > Target Win32 x86 > MS VC++2008 EE > Configuration: Release, Full optimizati...
2007 Dec 06
0
AEC diagnistics generated files
...ed files Hi Guys, I am trying to incorporate the speex AEC into my RTP stack. Trying to diagnose why the echo is not being cancelled I enabled DUMP_ECHO_CANCEL_DATA as per the docs. The problem is that the dump files the AEC generates are of different size. As I understand this and looking at echo_diagnostic.m, the files are supposed to be of same size. Can someone give me a hint as to why this could be happening? Additional info: Windows WaveIn/Out API is used to work with a sound device. The format is PCM 16 8 2 Thanks much, Dmitry _______________________________________________ Speex-dev maili...
2009 Apr 20
0
Echo Can Tail Length
...nk there's a mistake > somewhere. The documentation on http://speex.org/docs/manual/speex-manual/node7.html#SECTION00740000000000000000 > says, " The recommended tail length is approximately the third of > the room reverberation time". However, the Octave script > echo_diagnostic.m has the code: > > if (b > .3*tail_length) > printf ('This is too much delay, try delaying the far-end > signal a bit\n'); > > This seems to mandate that the tail length should be at least 3 (or > 3.33...) times the delay, which conflicts with what th...
2009 Aug 11
0
AEC troubleshooting
...ces at xiph.org] On Behalf Of Greger Burman Sent: Monday, August 10, 2009 5:40 AM To: speex-dev at xiph.org Subject: [Speex-dev] AEC troubleshooting I'm experiencing little to no damping of acoustic echo from the echo cancellor and I can't figure out why so far. I thought I should try the echo_diagnostic tool so I built libspeex.dll and libspeexdsp.dll with the DUMP_ECHO_CANCEL_DATA flag, but I'm not getting any output files at runtime. Any ideas? Build information: Speex version: 1.2rc1 Target Win32 x86 MS VC++2008 EE Configuration: Release, Full optimization, _USE_SSE DUMP_ECHO_CANCEL_DATA...
2010 Jan 18
0
Using AEC on a mobile device where earpiece is routed differently
Hello, I'm using AEC for a VoIP application on mobile handsets. I am doing experiments to learn how to work with it, and I have a problem: As long as I play through the device's normal speaker and record using the mic, I have absolutely no clock drift (according to echo_diagnostic.m). The echo is being cancelled and all is fine. Once I route to the earpiece (and still use the mic, which is the only option), no echo is cancelled and the diagnostic shows that I have clock drift. I know that the AEC expects a locked clock, but that's my current situation and I couldn'...
2009 Aug 11
0
AEC troubleshooting
...ces at xiph.org] On Behalf Of Greger Burman Sent: Monday, August 10, 2009 5:40 AM To: speex-dev at xiph.org Subject: [Speex-dev] AEC troubleshooting I'm experiencing little to no damping of acoustic echo from the echo cancellor and I can't figure out why so far. I thought I should try the echo_diagnostic tool so I built libspeex.dll and libspeexdsp.dll with the DUMP_ECHO_CANCEL_DATA flag, but I'm not getting any output files at runtime. Any ideas? Build information: Speex version: 1.2rc1 Target Win32 x86 MS VC++2008 EE Configuration: Release, Full optimization, _USE_SSE DUMP_ECHO_CANCEL_DATA...
2009 Aug 11
2
AEC troubleshooting
An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20090811/ad615b2a/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: comunip.gif Type: image/gif Size: 1663 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20090811/ad615b2a/attachment.gif