similar to: Problem with VAD in preprocessor on iPhone

Displaying 20 results from an estimated 2000 matches similar to: "Problem with VAD in preprocessor on iPhone"

2010 Oct 28
0
Problem with VAD in preprocessor on iphone
Hello, I am attempting to use Speex in an iPhone application and running into an issue. I got speex to compile by following these instructions: http://codeforfun.wordpress.com/2010/04/29/compile-speex-for-iphone/ Next, I was able to record some audio and play it back. I then inserted a call to the speex preprocessor and am passing all of the audio buffers I receive from Audio Queue Services
2014 Jun 12
1
VAD always return 1
Hi All, I am trying to use VAD opption of speex encode on STM32F4 chip. But when I use *speex_preprocess_run *function, It allways return 1. Anyone can show me the problem? And please, give me an example about using VAD. Thanks in advance, Regards, Nhan. -------------- next part -------------- An HTML attachment was scrubbed... URL:
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
2007 Jun 08
2
VAD Questions
Hello Jean-Marc et al: On 07/06/07, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote: > > - Is there a reference somewhere (other than the source itself) that > > explains how the latest VAD algorithm works? > > Read the source, Luke :-) (sorry) Okay. I had to ask :-) > > > - Is it possible to obtain the VAD status of a Speex stream > >
2010 Feb 11
2
Compile/Build Speex on iPhone
Hello, I am completely new to Speex and make files but I'm looking to build/ run Speex on the iPhone for decoding and potentially encoding. I've read that you can just copy the source into an XCode project which I tried but I started getting all kinds of compile errors. (1000+) There were things like missing references to ogg header files and so forth. Could someone explain
2010 Feb 11
1
Compile/Build Speex on iPhone
The off dependencies are only for speexenc and speexdec, as far as I recall. If you omit those targets, you shouldn't have the ogg dependency issues. On Feb 10, 2010, at 22:21, Jean-Marc Valin <jean-marc.valin at usherbrooke.ca > wrote: > Unless you want to work on files (rather than RTP), you don't need any > of the stuff that uses ogg.h > > Jean-Marc > >
2008 Jan 07
2
Problem related to Voice activity detection
hi guys, i am trying to develop an application having a capability to detect voice activity in voice stream and then record only portion of this stream which contains the activity. i went through these steps. 1. Captured voice through Waveform Functions of Windows Multimedia API 2. Started Speex Preprocessing liberary 3. Turned on preprocessor by calling speex_preprocess_state_init and
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
2011 Sep 13
2
why VAD modifies my voice data?
Hello, I'm using Speex Preprocessor to supress noise, eliminate echo etc. But I have another preprocessor state that I want to use ONLY to determine voice activity. int res = speex_preprocess_run(m_VADOnly, (spx_int16_t *) pStreamSampleBuffer); pStreamSampleBuffer is modified after call to speex_preprocess_run. I have manually turned off noise suppression and AGC but anyway - VAD modifies
2011 Aug 31
0
How can I use preprocessor standalone with a wav file?
I have been tyring to use the preprocessor standalone by feeding it pcm data from a headerless pcm file (mono, 22050hz) and then write the result to another file. Unfortunately, all I get back is noise (first frame is set to 0, rest is noise). Frame size is set to 440. I just modified testdenoise.c slightly to read/write from a file (see below) but I can't get useful results. What am I
2006 Oct 24
2
Does VAD/DTX work without VBR and Preprocessor
Hello, I'm try to run speex on some ARM processor. I'd like to cut away some speex features including VBR, ABR and preprocessor while still supporting VAD/DTX. But I've found some puzzles in the source code regarding VAD as below, 1) there are VAD related codes in the source file preprocess.c. Will VAD still work If I don't use the source file preprocess.c? 2)The speex manual
2006 Oct 24
1
Does VAD/DTX work without VBR and Preprocessor
Hi Marc, Thanks for your quick response. So if VAD is enabled then VBR will be enable although it's a special VBR. How about take out the VAD code from the VBR and remove the code else? Lianghu On 10/24/06, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote: > > > 1) there are VAD related codes in the source file preprocess.c. > > Will VAD still work If I
2007 Sep 17
1
Possible fixed point overflow/div 0 preprocess.c
Hi, I'll try to keep this as brief, yet descriptive enough to save everyone some time. If I'm off with this one please forgive me, but it has fixed my issues. I am not sure whether it is just my compiler (gcc 3.3.5) doing the wrong thing with the cast. File: preprocess.c Arch affected: x86, (others?) svn revision: 12778 Description: The SpeexPreprocessState_ member 'nb_adapt'
2007 Jan 08
1
VAD in preprocessor
Hi all and Jean-Marc, Firstly thanks a lot to you for helps, at last I accomplished to use speex-1.2beta1 in my speech application. I try to understand speex source code and improve speech quality. The problem in my application (like many people in the list says) is noise. So I've added VAD in preprocessor as following. VAD in preprocessor is very good, there is not noise outside speech. I
2007 Jun 08
0
VAD Questions
> Either one. The question is: If we treat the software like a black > box, and we feed in PCM audio, we get Speex encoded data out. Where is > the information that indicates whether the encoded data contains > speech or not? The API has a "get VAD status", but it seems like that > might only indicate whether VAD is currently enabled. Perhaps the VAD > status is
2007 Jun 08
2
VAD Questions
Hello Jean-Marc: On 08/06/07, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote: > > Either one. The question is: If we treat the software like a black > > box, and we feed in PCM audio, we get Speex encoded data out. Where is > > the information that indicates whether the encoded data contains > > speech or not? The API has a "get VAD status", but it
2008 Dec 15
0
preprocessor VAD only rocognize between silence andnot silence
Jesus, Unfortunately, FFT and magic algorithms don't work (yet?). You might want to try this if you're not satisfied with Speex VAD: http://lists.xiph.org/pipermail/speex-dev/2008-August/006860.html It won't perform any miracles, but I think it works pretty well and is easy to tweak. Tom >---- Original Message ---- >From: jmorion at toomeeting.com >To: speex-dev at
2005 Sep 18
1
Adjustable parameters for VAD in preprocessor
*Sigh* Some day I'll learn to set the right sender address when posting to membership-restricted mailing addresses. Was wondering why this hadn't arrived. Reposted message as follows: Hi, Would a patch to change the constants on line 454 - 462 in the preprocessor into variables be of general interest? At the moment, whether or not "is_speech" is 1 is hardcoded to be
2010 Feb 09
1
Stereo AEC
Hi, Can anybody show me how to enable stereo AEC, I tried with the following code and the result is bad, degraded output. Init: ec_state = speex_echo_state_init_mc(frame_size, aec_tail, 2, 2); speex_echo_ctl(ec_state, SPEEX_ECHO_SET_SAMPLING_RATE, &sample_rate); preprocess_state_left = speex_preprocess_state_init(frame_size, sample_rate); preprocess_state_right =