Displaying 20 results from an estimated 500 matches similar to: "About echo cancelling"
2006 Jan 25
1
About echo cancelling
Hi.
I've implemented "echo cancel" to voip project.
But it doesn't work well . (I cannot feel the enhancement with activated AGC)
My encode settings :
1. frame size : 320 bytes.
2. sampling rate : 16000 Hz (WB)
3. mono
echo state initialized like this :
echo_state = speex_echo_state_init(framesize, framesize*16);
and befor encode :
speex_echo_cancel(echo_state,
2010 Jul 20
0
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
Anton A. Shpakovsky <saa <at> tomsksoft.com> writes:
>
> 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
2010 Jul 20
1
[BombData][alltestmode] Re: [SPAM] [BombData][alltestmode] Re: Speex EchoCancellation
Well, I'm not a professional in AEC theory, but what I've mentioned is:
speex_echo_state_init(20, 320*10) - frame size should correspond to
20ms. At your sampling 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,
2008 Feb 17
1
Voice activity detection
Thanks for your reply. I changed my code to:
if (speex_preprocess_run(preprocess_state, shortPointer) == 1)
{
speex_encode_int(enc_state, shortPointer, &enc_bits);
}
In the mobile version of the software, compiled against the mobile build of Speech, I get 1 and 0 based on whether the speech is detected. In the version of the software compiled against the Win32 version of Speex,
2008 Feb 15
3
Voice activity detection
This must be a simple issue, but I cannot figure it out.
I want to use VAD, but I don't know how to check if the actual frame has
voice in it or not.
So, in my code, I do:
int tmp = 1;
speex_preprocess_ctl(preprocess_state, SPEEX_PREPROCESS_SET_VAD, &tmp);
speex_preprocess_ctl(preprocess_state, SPEEX_PREPROCESS_SET_DENOISE,
&tmp);
then later, for each frame
2010 Apr 20
0
Regarding problem with encoding / decoding
Hi,
I got the following problem with speex. Could you help me to resolve the following issue.
Description: I am taking speech input from MIC storing in a buffer after that i will encode by using speex then decoding and sending to output(speakers).
it is small demo project of speech encoding/decoding in VC++.
I am reading the data from buffer in the following way where data is short[] type and
2009 Oct 08
1
2 weeks lost in the AEC world
Hi,
my VoIP system uses speex with framesize = 160 samples(20 ms) at 8khz,
sending and receiving paquets of 1600 samples(200 ms).
When I receive a packet, I buffered it (I have also tried with
speex_echo_playback) before sending to the speaker.
When I capture from microphone, I fist remove DC offset (I saw in OPAL
sources) and then I call speex_echo_cancellation for every one of the 10
2018 Jun 01
0
Issue with batch forecasting of Time series data
Hi,
i have a weekly data for servers for 62 weeks. want to predict the cpu% for next 5 weeks.I am trying to forecast for many servers at once but with the code i am getting only one week of future forecast for all the servers. Also the week date for the predicted week is showing as the last week of the original data . Need help in two things How can i change the date for the predicted week, and
2018 May 27
0
Help required in Batch Forecasting
Hi I am trying to forecast for multiple server for CPU Utilization , But currently i am getting it for for one week , when ever i am trying to get more than one week it gives me error. Secondly in the one week forecast values i am getting the weekend date as the last week end in the original data set , where as it should be one week after that . Below is my code
Let me know if anything else is
2012 Dec 25
0
Problem in using SpeexPreprocess
Hi,
I wrote to a program looking at the api reference to pre-process noisy
speech using SpeexPreprocess api. Code listing is the following:
---------------------------------------
#include <stdio.h>
#include <speex/speex_preprocess.h>
#define FRAME_SIZE 160
#define SAMPLING_RATE 8000
int main(int argc, char **argv)
{
SpeexPreprocessState *preprocess_state =
2006 Nov 02
1
echo cancellation on PDA
I did the test on another PDA which runs XScale 416Mhz CPU, the EAC
arithmetic could be done in 1ms, but for the previous PDA (TI OMAP
168Mhz), it take more than 100ms!
Though EAC could run in time on the new PDA, it did no help to cancel
the echo, here is my test scenario:
Init echo_state:
echo_state=speex_echo_state_init(160,1120);
int tmp=8000;
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
2004 Aug 06
3
question on usage of the libraries
> Is the following code correct for compressing audio? The output I get is
so
> extremely small, but what is more important: if I pass it through zlib, it
> gets at least 50% smaller!
JM> On regular data, gzip might get a 5% reduction, so I doubt you can get
JM> 50% unless you're encoding zeros or doing something wrong...
I think I'm doing something wrong :o) Don't know
2007 Aug 03
6
Problems saving an uploaded image to an app folder
In my app, the user can upload images. Rather than shoving the image
data in the database, i want to put the filename and content type into
the db, then rename the image with its record''s id number, and then save
it into a local folder in my app folder. (hardcoded for now)
All the details are being saved to the db ok, so as far as i know the
"picture_file=" method is fine.
2009 Dec 16
1
AEC Troubles
Hello,
We are experiencing a few problems with Speex AEC. We are using it to
process audio data on a real time stream over IP with Speex codec (frame
size = 320).
We initialize the echo state like this :
SpeexEchoState * echo_state;
echo_state = speex_echo_state_init(320,512);
int sr = 16000;
speex_echo_ctl(echo_state, SPEEX_ECHO_SET_SAMPLING_RATE,&sr);
We are not really sure about
2008 Jul 22
1
FW: SPEEX_PREPROCESS_GET_ECHO_STATE broken
All,
The implementation of SPEEX_PREPROCESS_GET_ECHO_STATE in preprocess.c seems to be broken. The value of the echo_state pointer is assigned to the stack variable rather than to the memory location pointed to by the stack variable.
Code snippet from preprocess.c:
case SPEEX_PREPROCESS_GET_ECHO_STATE:
ptr = (void*)st->echo_state;
break;
It seems as though the code should
2007 Sep 14
0
Speex echo canceller creating some problems. No voice coming.
Hi,
I am new to speex so please redirect me to some links if the question is
repetative.
Just for testing the echo canceller performance, I have added
mdf,fftwrap,misc,kiss_fftr,kiss_fft source files to my project.
Now In my multithread application when I receive packets from mice, I calls
speex_echo_capture(echo_state, input_frame, output_frame,Youtput_frame)
with input_frame as
2008 Jan 31
0
[PATCH] x86: use ELF format in compressed images.
This allows other boot loaders such as the Xen domain builder the
opportunity to extract the ELF file.
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: virtualization@lists.linux-foundation.org
---
2008 Jan 31
0
[PATCH] x86: use ELF format in compressed images.
This allows other boot loaders such as the Xen domain builder the
opportunity to extract the ELF file.
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: virtualization@lists.linux-foundation.org
---
2010 Nov 10
0
bug fix for speex_resampler_reset_mem?
I'm using resample.c from speex in my project, and was testing it by
processing the same waveform twice, with a reset() call in the middle,
as follows:
short *input_data = read_waveform_as_linear(infileName, &rate,
&num_samples, &num_channels);
SpeexResamplerState *state = speex_resampler_init_frac(num_channels,
in_rate, out_rate, in_rate, out_rate, quality, &error);