Displaying 20 results from an estimated 31 matches for "speexechost".
Did you mean:
speexecho
2004 Aug 06
2
echo cancel
Hello,
I would like to test the echo cancel algorithm available in unstable version
1.1.4. This echo canceller can be used with other codecs like G711?
Somebody could send me some documentation or sample, or explain the next
functions:
SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length);
void speex_echo_state_destroy(SpeexEchoState *st);
void speex_echo_cancel(SpeexEchoState *st, float *ref, float *echo, float
*out, float *Y);
Thank you very much. Best regards.
G.
--- >8 ----
List archives: http://www.xiph.org/arc...
2008 Mar 29
0
GCC/ELF Visibility patch
...)
{
if (bits->bitPtr)
speex_bits_pack(bits, 0, 1);
Index: libspeex/mdf.c
===================================================================
--- libspeex/mdf.c (revision 14645)
+++ libspeex/mdf.c (working copy)
@@ -378,7 +378,7 @@
#endif
/** Creates a new echo canceller state */
-SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length)
+EXPORT SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length)
{
int i,N,M;
SpeexEchoState *st = (SpeexEchoState *)speex_alloc(sizeof(SpeexEchoState));
@@ -495,7 +495,7 @@
}
/** Resets echo canceller state *...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...)
{
if (bits->bitPtr)
speex_bits_pack(bits, 0, 1);
Index: libspeex/mdf.c
===================================================================
--- libspeex/mdf.c (revision 14645)
+++ libspeex/mdf.c (working copy)
@@ -378,7 +378,7 @@
#endif
/** Creates a new echo canceller state */
-SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length)
+EXPORT SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length)
{
int i,N,M;
SpeexEchoState *st = (SpeexEchoState *)speex_alloc(sizeof(SpeexEchoState));
@@ -495,7 +495,7 @@
}
/** Resets echo canceller state *...
2008 Jul 22
1
FW: SPEEX_PREPROCESS_GET_ECHO_STATE broken
...ack 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 be:
case SPEEX_PREPROCESS_GET_ECHO_STATE:
(*(SpeexEchoState*)ptr) = (SpeexEchoState*)st->echo_state;
break;
PS - Sorry if this has already been received. I sent this yesterday before realizing that I hadn't subscribed to the mailing list.
Jeff Kinzer
Software Developer
COMOTIV SYSTEMS
111 SW Columbia?Street Ste. 950
Portland,?OR 97201
Off...
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,
Chris Adoremos...
2010 Sep 29
2
Using Speex Echo Canceller
...Is it possible to use only the speex echo cancellation module w/o using the
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 ad...
2004 Aug 06
0
echo cancel
.... This echo canceller can be used with other codecs like G711?
If by "used with other codecs", you mean that you can use the result as
input to any codec you like, the answer is yes.
> Somebody could send me some documentation or sample, or explain the next
> functions:
>
> SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length);
frame size is the number of samples you want to process at once.
Recommended is in the order of 256 (ideally a power of 2, but other
values will work). filter_length is the approximate length you want your
filter to be. For example, if...
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?
2011 May 27
1
AEC learning behaviour
...http://permalink.gmane.org/gmane.comp.audio.compression.speex.devel/6913
It is not integrated into the main git tree though.
Regards,
Simon
On 26/05/2011 21:21, Stuart O Anderson wrote:
> This is not part of the current API. It shouldn't be too hard add a
> serialization routine for SpeexEchoState.
>
> Stuart
>
> On Thu, May 26, 2011 at 12:07 PM, Maris Engineering<mail at maris-ee.eu> wrote:
>>> Yes, you are not forced to reset the AEC between calls at all, if you
>>> can assume the actual echo path (physical environment) will not change
>>> m...
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 the values in parameters, please tell us if
you see something wrong about them.
we process the data like this :
speex...
2008 Feb 08
1
Echo Canceller on Windows Mobile
...io thread:
Write to codec
speex_echo_playback(echo_state, echo_frame);
Capturing audio thread:
Receive buffer
speex_echo_capture(echo_state, input_frame, output_frame);
We have compiled for fixed point.
We are using codec buffer size of 256 bytes ie 128, 16bit samples.
SpeexEchoState* iEchoState = speex_echo_state_init(ECHO_FRAME_SIZE, ECHO_FILTER_SIZE);
ECHO_FRAME_SIZE = 128
ECHO_FILTER_SIZE = 1024
Any ideas?
Do you know whether any one has this running on Windows Mobile platforms successfully.
Regards
---------------------------------
S...
2004 Dec 30
2
echo cancellation
...rSample; //will contain what the speakers are going to play
short * microphoneSample; //what the microphone is going to register
short* cancelledSample; //the ouput without echo
int* cancelledSpectrum; //output cancelled spectrum
//now i assume that i should initialise everything like that:
SpeexEchoState* pechoState = speex_echo_state_init(160,x*160); //do the
second parameter need to be a multiple of the frame size?
AllocBuffers(SpeakerSample,microphoneSample,cancelledSample,cancelledSpectrum);
do{
captureSpeaker(speakerSample);
captureMicrophone(microphoneSample);
speex_echo_cancel(pechoStat...
2010 Sep 30
0
[SPAM] [BombData][alltestmode] Re: [SPAM] [BombData][alltestmode] Using Speex Echo Canceller
...v] 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,
Chris Adorem...
2011 May 26
2
AEC learning behaviour
> Yes, you are not forced to reset the AEC between calls at all, if you
> can assume the actual echo path (physical environment) will not change
> much, you can keep the instance and continue using it for the next call.
>
> Also what we did was keep the AEC running between calls - but we had a
> rather high-duty system with sounds and signals played between calls, so
> the AEC
2006 Jun 07
7
AEC frame size
?
hi all,
i am using the Acoustic Echo Cancellation from "Speex 1.1.12 version" in my VOIP application. Is it that the frame length to be chosen should always be 20ms or can i have flexibility in chosing the frame lenght?
on what parameters does the frame length choise depends?
thank you all,
Shri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jul 19
2
echo cancellation seg faults
Probably the level of your signal is too low and/or you're just not
letting it time to adapt.
Jean-Marc
Le mercredi 19 juillet 2006 ? 19:00 -0400, ac2491@columbia.edu a ?crit :
> On closer looks and debugging I always end up in
>
> speex_echo_cancel function with comment
> /* Temporary adaption rate if filter is not adapted correctly */
>
>
> Does this give any clue
2004 Dec 30
0
echo cancellation
...eakers are going to play
> short * microphoneSample; //what the microphone is going to register
> short* cancelledSample; //the ouput without echo
> int* cancelledSpectrum; //output cancelled spectrum
>
> //now i assume that i should initialise everything like that:
>
> SpeexEchoState* pechoState = speex_echo_state_init(160,x*160); //do the
> second parameter need to be a multiple of the frame size?
> AllocBuffers(SpeakerSample,microphoneSample,cancelledSample,cancelledSpectrum);
>
> do{
> captureSpeaker(speakerSample);
> captureMicrophone(microphoneSample...
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;
2006 Jun 07
0
Echo canceller problem
Welcome everybody.
I am new here on the list. Thank you very much for speex encoder and decoder.
They are working great. I compile speex coded for str911 Arm processor.
But I have a big problem with echo canceller from 1.1.12 speex package.
I create echo canceler state:
SpeexEchoState * echo_state = speex_echo_state_init(FRAME_SIZE,
FRAME_SIZE * 5);
FRAME_SIZE is in my project 160 samples. I have 8000ksaples/s, so I must
call echo canceler every 20ms.
and later in the loop I call it:
speex_echo_cancel(echo_state, (short *)Samples, (short
*)SamplesSpeaker, (short *)Sampl...
2007 Apr 25
0
echo cancellation on Blackfin DSK
...el 1
in++; // channel 2
}
in_left = in_buffer_calc;
speex_bits_reset(&g_Bits);
// Encode the frame
speex_encode_int(g_pvEnc, (spx_int16_t *)in_left, &g_Bits);
nbBits = speex_bits_write(&g_Bits, cbits, 200);
speex_bits_rewind(&g_Bits);
SpeexEchoState *st=
speex_echo_state_init(SPEEX_FRAME_SIZE,filter_length);
speex_echo_cancel(st,(spx_int16_t *)in_left,(spx_int16_t
*)out_left,(spx_int16_t *)out2,NULL);
speex_echo_state_destroy(st);
// Decode the frame
speex_decode_int(g_pvDec, &g_Bits, (spx_int16_t *)out_left);
#if...