search for: speex_preprocess

Displaying 20 results from an estimated 109 matches for "speex_preprocess".

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 i...
2005 Mar 08
0
VAD with speex_preprocess()
As I understand it, there are two separate ways to get VAD information from Speex: 1) Using the encoder. 2) Using speex_preprocess(). I present the following observations from an application developer's perspective. They may be wrong, in which case I would appreciate corrections. - The two VAD systems are implemented differently. - speex_preprocess()'s VAD provides more accurate detection than the encoder's...
2005 Oct 11
1
noise when passing trougth speex_preprocess
Hi all, as in subject, speex_preprocess inject noise in my data. Someone can help ? Here's the way that i'm using: #define NN 160 /* 20msec di audio */ #define AUDIO_SAMPLERATE 8000 spx_int16_t TEMP_Buffer[NN]; speex_pp_state = speex_preprocess_state_init(NN,AUDIO_SAMPLERATE); c = denoise; speex_preprocess_ctl(speex_pp_state,...
2008 Feb 12
0
Second part of data export patch
...probability of the current frame (the value that the _PROB_START and _PROB_CONTINUE parameters are compared to in the current VAD). I've verified that they give the same results in fixed and floating point mode. -------------- next part -------------- diff -ubBwr get_agc_gain/include/speex/speex_preprocess.h get_psd/include/speex/speex_preprocess.h --- get_agc_gain/include/speex/speex_preprocess.h 2008-02-12 17:13:04.000000000 +0100 +++ get_psd/include/speex/speex_preprocess.h 2008-02-12 17:15:10.000000000 +0100 @@ -186,6 +186,22 @@ /** Get current gain (int32 percent) */ #define SPEEX_PREPROCESS_G...
2004 Aug 06
1
speex_preprocess in fixed point arithmetics
Hi, I am trying to get speex_preprocess in real time for Arm. Tried 32.32 fixed point but looks like even that precision is also not enough. Any suggesions? Regards, Phani. ===== !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !The butterfly counts not months but moments,! ! and has time enough. ! !!!!!!!!!!!!!...
2006 Jun 01
1
Question about speex_preprocess
Hi, While most of the native functions take float[] array as input, why the function speex_preprocess(...) can only accept short[] array? How do I call this function if I have float[] array inputs? Do I need to convert the floats to Integers back and forth? Thank you in advance. Long Deng -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pip...
2006 Nov 15
1
I wish the prefilter[speex_preprocess()] function work faster on ARM..
Hi,all I do some work on ARM cpu with VS2005, speex1.2beta. I use the FIXED_POINT define and it works well of codec and decode. but the speex_preprocess() still cannot work real time. I look into the soucecode , and didn't find any fix-point #ifdef computation . So I wish there should be some fix in the future version. If you already done the similar, pls tell me , thanks! Fan
2005 Mar 07
2
VAD with speex_preprocess()
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 anywhere I can find more information on how to use this function? Thanks for your help, Steve _________________________________________________________________ E...
2004 Aug 06
1
DTX and VAD doesn't work on one of my computers.
Dear Jean, Thank you so much for reply my message. I am sorry the function return 38 is speex_bits_write(). This function doesn't work on one of my computers. But after I add the function speex_preprocess(), it works well. I am wondering what is the possible reason? What the function speex_preprocess() does? Another problem I have now is when I enable dtx and vad with function speex_preprocess(). The sound disappeared after I decode it. What shall I do? Thanks Jonathan > This seems to indica...
2007 Dec 06
2
Some question about speexcodex 1.2 beta2 on linux
...latest version of codec then I type the commands to install : configure -prefix=/home/...../test -enable-shared -enable-static make make install then I try to compile my encode.c here is the encode.c of mine: ===================================== #include <speex/speex.h> #include <speex/speex_preprocess.h> #include <stdio.h> #define MAX_FRAME_SIZE 320 int main() { FILE *fin, *fout; short in[MAX_FRAME_SIZE]; char cbits[200]; int nbBytes = 0; void *state; SpeexBits bits; int m_frame_size; int m_channels = 1; // SpeeX...
2009 Jan 19
2
error
...-I. -I. -I.. -I../include/ -I.. -I../../oRTP/include -I/usr/include/ffmpeg -DVIDEO_ENABLED -DORTP_INET6 -DINET6 -Wall -O2 -g -pthread -D_REENTRANT -MT msconf.lo -MD -MP -MF .deps/msconf.Tpo -c msconf.c -fPIC -DPIC -o .libs/msconf.o msconf.c:27:36: error: speex/speex_preprocess.h: No such file or directory msconf.c:55: error: expected specifier-qualifier-list before ?SpeexPreprocessState? msconf.c: In function ?channel_init?:...
2007 Feb 15
1
error during make while installing Linphone-1.5.1
...s speexec.c:133: warning: implicit declaration of function `speex_echo_state_reset' speexec.c:148: warning: passing arg 5 of `speex_echo_cancel' makes pointer from integer without a cast speexec.c:149: warning: comparison between pointer and integer speexec.c:150: warning: passing arg 3 of `speex_preprocess' makes pointer from integer without a cast make[3]: *** [speexec.lo] Error 1 make[3]: Leaving directory `/home/umesh/IPPHONE/linphone-1.5.1/mediastreamer2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/umesh/IPPHONE/linphone-1.5.1/mediastreamer2/src' make[1]: *** [a...
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>-----Origin...
2004 Aug 06
2
Question about SPEEX_PREPROCESS_SET_DENOISE
I just download the 1.1.5. And it is working well. I try the xxx_int functions at least it works. But I did not find the performance improvement. But when I try this: m_pPreprocess= speex_preprocess_state_init(m_nSamplesPerFrame, m_nSampleRate); speex_preprocess_ctl(m_pPreprocess, SPEEX_PREPROCESS_SET_DENOISE, &tmp); and add speex_preprocess(m_pPreprocess, buf, NULL); before encode. The result is really unacceptable. I think there must be something wrong. And for th...
2006 Nov 15
2
[PATCH] symbian port
hi, this patch should fix the symbian build. /alfred -------------- next part -------------- A non-text attachment was scrubbed... Name: speex-symbian2.patch Type: text/x-patch Size: 2669 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20061115/5ac4915e/speex-symbian2.bin
2006 Nov 15
1
[PATCH] symbian port
...de\speex\speex_echo.h >> +..\include\speex\speex.h \epoc32\include\speex\speex.h >> +..\include\speex\speex_header.h \epoc32\include\speex\speex_header.h >> +..\include\speex\speex_jitter.h \epoc32\include\speex\speex_jitter.h >> +..\include\speex\speex_preprocess.h \epoc32\include\speex\speex_preprocess.h >> +..\include\speex\speex_stereo.h \epoc32\include\speex\speex_stereo.h >> +..\include\speex\speex_types.h \epoc32\include\speex\speex_types.h >> + >> + >> PRJ_MMPFILES >> >> speex.mmp >&g...
2004 Aug 06
4
Memory leak in denoiser + a few questions
...&& st->speech_prob > st->speech_prob_continue ) + ) { is_speech = 1; st->last_speech = 0; - } else { + } + else + { st->last_speech++; if (st->last_speech<20) is_speech = 1; @@ -985,6 +995,30 @@ case SPEEX_PREPROCESS_GET_VAD: (*(int*)ptr) = st->vad_enabled; break; + + case SPEEX_PREPROCESS_SET_PROB_START: + st->speech_prob_start = (*(float*)ptr) ; + if ( st->speech_prob_start > 1 ) + st->speech_prob_start = st->speech_prob_start / 100 ; + if ( st->speech_prob_start...
2004 Aug 06
2
More Speex (pre-processing) Options
...had time to determine why. In any case, all of the features > jointly work very well- great job! > > I realize the echo cancellation element may still be in development, but I am > having trouble getting that part of the preprocessor to work. When > I don't pass NULL into the speex_preprocess for the echo parameter, things > seem to go haywire- some memory appears to be getting trampled somewhere > (this is probably my fault). Maybe I am misunderstanding the purpose of this > parameter? Except for the first few packets, the preprocessor > appears to be removing all audio-...
2004 Aug 06
2
Memory leak in denoiser + a few questions
On Mar 28, 2004, at 8:23 PM, Jean-Marc Valin wrote: >> 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. > > Oops... Thanks for letting me know. I'll change that for the next > release (in the mean time, the fix is obvious). In case you're > inter...
2005 Oct 11
2
echo cancellation
...for AEC. portaudio has one callback function that is used for microphone and loudspeakers signals so they are in sync quite good. the bit rate I am using is 8000Hz, buffer length is 256 samples and filter length is 800 samples. speex initialization: st = speex_echo_state_init (NN, 800); den = speex_preprocess_state_init (NN, 8000); echo cancellation: speex_echo_cancel (st, ptr, echo1[0], e_buf, noise); speex_preprocess (den, e_buf, noise); where ptr is a buffer that was recorded from microphone, echo1[0] is a buffer that was played on loudspeakers. the delay between ptr and echo1 is 2 buffers (512...