Displaying 20 results from an estimated 4000 matches similar to: "memory"
2004 Aug 06
2
speex preprocess redux
Tom Harper wrote:
> Hi All & Jean Marc,
>
> Once again I find myself delving into the pre-processing code to fiddle
> with the VAD, AGC and denoising code.
>
> Where i am at is that I have implemented all of Steve Kann's mods, and
> they are 90% of the way there in terms of working, except that I am still
> having issues denoising open air mics. But that is
2004 Aug 06
1
speex preprocess redux
I'm not sure if this is due to the same problem, but I get the
same clipping behavior when trying to use VAD+denoiser on a
particular mic+speaker setup that has significant background noise
(enough to really foul up the codec should the denoiser be turned
off.) Leaving VAD off and transmitting continuously seems to be
the only way to avoid this clipping.
Another person I regularly
2004 Aug 06
2
Preprocessing and Echo Cancellation Notes.
First, I'd just like to thank the Speex community, and Jean-Marc
especially, for their great work.
I'm developing a VoIP library (which uses IAX, the asterisk protocol)
as the network protocol. I've been putting off integrating Speex for a
while, as things have been working pretty well so far with GSM. (for
those interested, the code is at iaxclient.sourceforge.net).
However,
2004 Aug 06
0
speex preprocess redux
Jean Marc,
Thanks for the advice. The estimate update may come in handy.
I have had some time to play with the adaptation time. I tried
making the adaptation time 80, 160 and 320. It seemed like
the smaller value was actually the best in my initial testing,
but I need to test this against a more noisy setup than I have here.
I am guessing that for vad a shorter adaptation time is probably
2004 Aug 06
2
More Speex (pre-processing) Options
I don't think the echo canceller works yet. The best I could
get it to do is trash my audio. If it does work, some sample
code demonstrating its use would be really appreciated...
Here is what Jean-Marc has said about it in the past:
> What should I use for a filter length for speex_echo_state_init()?
"Well, it depends on your problem. The filter length represents the
maximum
2004 Aug 06
2
More Speex (pre-processing) Options
Hi,
So I have had a chance to delve deeper into the new pre-processing
code- I was also able to get VAD, AGC, Denoising, etc working inside of the
current release candidate (1.0.3). For some reason, the 1.1.2
release didn't properly encode/decode in our system (on windows)
and I haven't had time to determine why. In any case, all of the features
jointly work very well- great job!
I
2007 May 03
4
Re: [Iaxclient-devel] iaxclient & speex
> I hate to be a talker and not a do-er, but I won't be able to write this
> myself, probably someone on the iaxclient team could do it.
Anyway, let me know if/when someone's working on that.
>> Hmm, or does that mean the analogue AGC is actually completely
>> independent from the "real" AGC. Any thoughts?
>>
>
> It's actually a bit more
2007 May 03
2
Re: [Iaxclient-devel] iaxclient & speex
> As you can tell, the AAGC integration with speex was really a classic
> hack. Instead of re-creating the hack, what's probably best here is to
> integrate AAGC back into speex, and have a proper API.
Agreed here. If you can come up with a clean patch to add that feature,
it's something I'd like to see in Speex.
> For those of you just tuning in, what I call
2004 Aug 06
5
Memory leak in denoiser + a few questions
Hello
The st->zeta pointer isn't freed in the speex_preprocess_state_destroy()
function of the preprocess.c file (alloced in line 167). It's in Speex 1.1.4
by the way.
I'm trying to make the denoiser work with my application and has got
reasonable noise reduction after applying the denoiser. I, however, haven't
been able to find any information of what the purpose of
2004 Aug 06
1
More Speex (pre-processing) Options
Tom,
You can look in my archives for my posts on this topic, but what
I've found is that the echo canceller works to some extent, but if
you're also using the other preprocessing (which you'd definitely need
to do _after_ ec, otherwise ec probably won't work at all), the AGC
function ends up reversing the effect of ec. That is, while ec reduces
the echo, it doesn't
2004 Aug 06
0
speex preprocess redux
Steve,
The main problem I am having with the system is clipping off the start
of someone's speech when they first start talking- the ends of the sentences
seem to be handled properly. I am wondering whether this is the fault of the
audio playback system or whether this is a speex issue-
I also get the musical artifacts problem with the denoiser. This seems to
be more of a problem on open
2007 Feb 27
2
Preprocessor denoise. Does it work?
There are many ways to implement a VAD. What you described is actually
perfectly equivalent to the most trivial (and least robust) VAD algorithm.
Jean-Marc
Andy Ross wrote:
> Ton Grandgent wrote:
>> Andy Ross wrotte:
>>> I wrote a trivial squelch feature* in 10 minutes that works
>>> basically 100% of the time.
>> Could you please explain how this differs from
2004 Aug 06
2
preprocessor performance (was Re: Memory leak in denoiser + a few questions)
Jean-Marc Valin wrote:
>If you set the denoiser to "on" and the VAD to "off", what difference
>does it make in CPU time?
>
<p>Same program, running on Athlon XP 1700+:
Test 1, using VAD, but AGC, denoise off:
tevek@canarsie:~/work/hms/app_conference $ time ./vad_test
/tmp/demo-instruct.sw 5
reading from /tmp/demo-instruct.sw, repeating 5 times
read 537760
2004 Aug 06
1
More Speex (pre-processing) Options
This is only remotely related: just out of curiosity, does
speex_preprocess work very well for you ?
It only works to certain extend for me, and does not seem to completely
remove noise from sound card. Even if you unplug the microphone, it
still could not get rid of the noise.
Any idea how it could be totally eliminated ?
<p>Thanks
<p><p>-----Original Message-----
From: Tom
2014 Jan 08
1
Some Speex AGC Questions
I'm attempting to use speex preprocess for automatic gain control in an
application I'm working on and could use some help.
I'm using Opus as my codec. In order to keep the number of packets down,
I'm using 60msec frames. I'm sampling at 48KHz as is recommended for Opus.
So, the frame length is 2880 samples and the sampling rate is 48000. The
source of the data is a
2008 Dec 11
1
preprocessor VAD only rocognize between silence and not silence
Hello,
in my project im using speex 1.2rc1 and the preprocessor VAD seems to
only separate complete silence from not complete silence frames.
The Speex Manual, you can read "The voice activity detector (VAD)
provided by the preprocessor is more advanced than the one directly
provided in the codec."
but if you go to the source code in preprocess.c line 995 "/* FIXME:
This VAD
2006 Oct 04
2
Crash in cb_search.c, line 414
Jean-Marc Valin wrote:
>> gcc version 3.4.5 (mingw special)
>
> Can you try 4.0 or 4.1 just to be sure?
mingw (native gcc for win32) doesn't officially support using gcc 4.0
and 4.1 yet (apparantly there have been some issues), so there are no
binary packages. But if you think it helps, I can compile gcc 4.1 and
give it a shot.
>> Compile flags:
>> DEFINES +=
2005 Mar 08
1
VAD with speex_preprocess()
speex_preprocess() isn't covered in the manual, is it? But, it's very
easy to use. If it returns non-zero, voice was detected.
Tom
"Meir Yeshurun" <mt_yeshurun@hotmail.com> wrote:
>
> I would like to use speex_preprocess() for voice activity detection. I read
> the comments in speex_preprocess.h and the relevant paragraphs in the Speex
> manual. Is there
2007 May 29
2
Noise suppression less than AGC gain
>> Yes, after I stop speaking, the noise slowly starts climbing again, and
>> if I peek at st->agc_gain, that's slowly climbing too. I think part of
>> the trouble is that the noise in here isn't uniform white noise; there's
>> traffic outside the window and people walking in the hallway outside my
>> door. Each little event is enough to cause the AGC
2005 Jun 22
1
Speech detection in preprocessor with echo
agc_gain seemed to fit with the idea of what I wanted to do, it was
easy to understand its units and behavior, and freezing it produced
the desired results. Also I wanted to cap it, so that's done at the
same place, and that definitely works.
All I want to do is be able to freeze AGC adaptation and put an
upper bound on the AGC (for example, 2x amplification). Both of
these things seem