search for: speex_echo_captur

Displaying 20 results from an estimated 40 matches for "speex_echo_captur".

Did you mean: speex_echo_capture
2010 Sep 30
2
[SPAM] [BombData][alltestmode] Using Speex Echo Canceller
Hi Anton Thanks for the info... What if I use this function do I still need to sync the playback and capture? Assuming that the captured voice (*rec) already contains the echo which I need to cancel out... -------------------------------- void speex_echo_capture (SpeexEchoState *st, const spx_int16_t *rec, spx_int16_t *out) Parameters: st Echo canceller state rec signal from the microphone (near end + far end echo) out Returns near-end signal with echo removed ---------------------------------- thanks & regards, C...
2010 Sep 29
2
Using Speex Echo Canceller
...speex codec? Here's the scenario: 1. I have my voice recorded in PCM audio file format 2. I want to cleanup the recorded voice by removing any echo included in the audio file/buffer 3. can I just use the ff APIs? - SpeexEchoState* speex_echo_state_init() - int speex_echo_ctl() - void speex_echo_capture() 4. then, will it be possible to encode the output buffer from speex_echo_capture() to any codec? Like G711? GSM? etc.... I'm quite new to audio format concepts/development, so if you have any ideas your advice is highly appreciated.. Thanks in advance Chris A -------------- next part -...
2010 Sep 30
0
[SPAM] [BombData][alltestmode] Re: [SPAM] [BombData][alltestmode] Using Speex Echo Canceller
Hi So in your case if you don't want to use speex_echo_cancellation than you should do next way: Save the playback frames (clean echo) within separate playback thread with speex_echo_playback func. Then use speex_echo_capture - it will remove the clean echo frame (saved with speex_echo_playback func) from const spx_int16_t *rec buffer (saved with speex_echo_capture) and you will get clean frame in "out" buffer. The sync is very important - because speex_echo_capture won't be able to remove clean echo...
2006 Sep 21
1
echo cancellation causes assertion
Hello, i'm adding echo cancellation to my voip application, but when i call speex_echo_capture() or speex_echo_playback() causes an assertion failed, it seens that there is a delete in any where. i've encapsulated echo canceller in a class that storage the state and simply call the functions: void EchoCanceller::Playback(short *echo_frame) { speex_echo_playback(echo_state, echo...
2010 Jul 20
2
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
As for me - speex_echo_cancellation is a better choise. Try using it in capture thread instead of those speex_echo_capture and speex_echo_playback functions. And please, describe your problem in details. Cause the fact that you "didn get echo cancellation" doesn't mean you are doing smth wrong. Regards, Anton A. Shpakovsky -----Original Message----- From: speex-dev-bounces at xiph.org [mailto:speex-...
2011 Apr 21
3
Acoustic echo cancellation
..., I read a large buffer (worth 4 packets) and send them >> out >> >>> over time 20ms apart. >> >>> >> >>> I tried using speex_echo_playback just when a 160-sample packet arrives >> from >> >>> the network, before coalescing and speex_echo_capture just before a >> packet >> >>> is sent out to the network but that doesn't seem to work properly >> (doesn't >> >>> cancel any echo). >> >> >> >> The most likely reason is that you didn't align the far-end and near-end &...
2006 Nov 02
2
echo cancellation on PDA
Hello all, Today I tried speex echo cancellation on my VoIP application running on a windows mobile based PDA (OMAP1510 168MHz). The result is disappointing: it takes 150-250 ms to do echo cancellation (by calling speex_echo_capture() ) for a 20 ms frame! I've defined the FIXED_POINT macro. Is there anyway to do some optimization? Nick
2009 Jan 05
2
Echo cancellation and synchronization
...-Marc and all others! I am having some troubles with the echo cancellation feature of speex in a voip project. I have two threads, one for sound input and one for sound output. In the output thread, I call speex_echo_playback(). or every frame sent to the sound card. In the input thread, I call speex_echo_capture() for every frame captured from the sound card. Also, I do encoding/decoding, networking etc. This all works fine on my MacBook. But when I run the same application on a linux machine I continuously receive the following speex warnings: warning: Had to discard a playback frame (your applicati...
2007 May 01
2
Sending speex over a network
...client.c:164: error: 'SPEEX_PREPROCESS_SET_ECHO_STATE' undeclared (first use in this function) speexclient.c:164: error: (Each undeclared identifier is reported only once speexclient.c:164: error: for each function it appears in.) speexclient.c:216: error: too few arguments to function 'speex_echo_capture' speexclient.c:223: warning: implicit declaration of function 'speex_preprocess_run' Can anyone give me direction ? Thanks Nichole -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070501/acc7cefe/a...
2011 Apr 19
1
Acoustic echo cancellation
...t;>> for playback. >>> On the send side, I read a large buffer (worth 4 packets) and send them out >>> over time 20ms apart. >>> >>> I tried using speex_echo_playback just when a 160-sample packet arrives from >>> the network, before coalescing and speex_echo_capture just before a packet >>> is sent out to the network but that doesn't seem to work properly (doesn't >>> cancel any echo). >> >> The most likely reason is that you didn't align the far-end and near-end samples. >> So the filter can not converge. >...
2011 Apr 21
0
Acoustic echo cancellation
...comes out of the mic ready to go out, varies between 0.44 to 0.57 seconds. So I queue the far-end samples for 0.4 seconds, and then send them to speex_echo_playback. Also, I am using a filter length of 0.2 seconds (1600 samples). Each outgoing (near-end) sample coming from the mic is passed through speex_echo_capture to cancel the echo and the output is sent out of the device. Despite this, the cancellation does not seem to work. I have also tried using speex_echo_cancellation. That doesn't help either. What could I be doing wrong? Any suggestions? Also, I am not using the speex encoder/decoder, just the...
2010 Jul 20
1
[BombData][alltestmode] Re: [SPAM] [BombData][alltestmode] Re: Speex EchoCancellation
...ampling rate (16000hz) is should be 16K*0.02 = 320. The same I can notice about echo tail. 100ms: 16000*0.3 = 4800, not 3200 as you has. But that's not crucial I think. Just wanna you get the point. "Internally, speex_echo_playback() simply buffers the playback frame so it can be used by speex_echo_capture() to call speex_echo_cancel(). A side effect of using this alternate API is that the playback audio is delayed by two frames, which is the normal delay caused by the soundcard. When capture and playback are already synchronised, speex_echo_cancellation() is preferable since it gives better control...
2011 Apr 22
0
Speex-dev Digest, Vol 83, Issue 17
...ready to go out, varies >between 0.44 to 0.57 seconds. So I queue the far-end samples for 0.4 >seconds, and then send them to speex_echo_playback. Also, I am using a >filter length of 0.2 seconds (1600 samples). Each outgoing (near-end) sample >coming from the mic is passed through speex_echo_capture to cancel the echo >and the output is sent out of the device. > >Despite this, the cancellation does not seem to work. I have also tried >using speex_echo_cancellation. That doesn't help either. > >What could I be doing wrong? Any suggestions? >Also, I am not using th...
2006 Nov 22
1
how does the echo canceller deal with playback/capture delays?
hello jean-marc and everybody, I keep getting no results when trying to use speex_echo_capture, speex_echo_playback and speex_echo_cancel in a multi-threaded application, as suggested in the manual. Though, the cancellation works properly when i use a file with human voice for far-end input and the same file with echo added in SoundForge for mic input. When i try to insert and remove silenc...
2009 Jun 28
1
TI Davinci DM Serias
...it? Is it ARM5e / ARM4 ? when I tried these two the during the compiled a warning "I suppose you can have a [ARM4/ARM5E/Blackfin] that has float instructions?" 2. is there any available demos for the echo cancellation because I can get it work. I am using it with the API call "speex_echo_capture", and "speex_echo_playback" on different threads when doing so the CPU loads reaches 80% (instead pf 4%) and I always gets the messages: Auto-filling the buffer (your application is buggy and/or got xruns) Had to discard a playback frame (your application is buggy and/or got x...
2009 Sep 29
1
SPEEX_PREPROCESS_SET_ECHO_STATE produces heap corruption
Hi, when I use preprocessor with AEC, VC++ alerts me about heap corruption. I have protected speex_echo_playback, speex_echo_capture and speex_preprocess_run with mutexes, to avoid echo_state being used at the same time, but it still happens. Any help about this ussue? Thank you.
2010 Sep 29
0
[SPAM] [BombData][alltestmode] Using Speex Echo Canceller
...dec? Here's the scenario: 1. I have my voice recorded in PCM audio file format 2. I want to cleanup the recorded voice by removing any echo included in the audio file/buffer 3. can I just use the ff APIs? - SpeexEchoState* speex_echo_state_init() - int speex_echo_ctl() - void speex_echo_capture() 4. then, will it be possible to encode the output buffer from speex_echo_capture() to any codec? Like G711? GSM? etc.... I'm quite new to audio format concepts/development, so if you have any ideas your advice is highly appreciated.. Thanks in advance Chris A -------------- n...
2011 Apr 16
0
Acoustic echo cancellation
...ayback, I coalesce 4 packets in a buffer and queue them as a larger buffer for playback. On the send side, I read a large buffer (worth 4 packets) and send them out over time 20ms apart. I tried using speex_echo_playback just when a 160-sample packet arrives from the network, before coalescing and speex_echo_capture just before a packet is sent out to the network but that doesn't seem to work properly (doesn't cancel any echo). So, in this scenario above, please recommend a good place to insert speex_echo_playback and speex_echo_capture. Should I be just before the read and write to hardware? In that...
2011 Apr 18
0
Acoustic echo cancellation
...uffer and queue them as a larger buffer > for playback. > On the send side, I read a large buffer (worth 4 packets) and send them out > over time 20ms apart. > > I tried using speex_echo_playback just when a 160-sample packet arrives from > the network, before coalescing and speex_echo_capture just before a packet > is sent out to the network but that doesn't seem to work properly (doesn't > cancel any echo). The most likely reason is that you didn't align the far-end and near-end samples. So the filter can not converge. > So, in this scenario above, please rec...
2011 Apr 18
0
Acoustic echo cancellation
...er buffer *>>* for playback. *>>* On the send side, I read a large buffer (worth 4 packets) and send them out *>>* over time 20ms apart. *>>* *>>* I tried using speex_echo_playback just when a 160-sample packet arrives from *>>* the network, before coalescing and speex_echo_capture just before a packet *>>* is sent out to the network but that doesn't seem to work properly (doesn't *>>* cancel any echo). *> The most likely reason is that you didn't align the far-end and near-end samples.> So the filter can not converge. Thanks for your response....