similar to: Problem related to Voice activity detection

Displaying 20 results from an estimated 300 matches similar to: "Problem related to Voice activity detection"

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
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,
2010 Apr 05
2
Regarding problem with encoding / decoding
Hi, Tank you for your reply. I have tried the sample programs given the manual and done encoding and decoding a wave file. That is working fine. I have already read the manual and API reference. But this problem did not occured with the wave file encoding/decoding. While capturing the data from MIC and encoding/decoding is giving this problem. Thanks and Regards, Vijender Reddy, -----
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
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'
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 =
2010 Oct 28
1
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
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
2007 May 01
2
Sending speex over a network
I am trying to compile speexclient.c. I downloaded all the files to ~/speex- 1.2beta1/include When I call ./compile.sh I get the following errors, speexclient.c: In function 'main': speexclient.c:164: error: 'SPEEX_PREPROCESS_SET_ECHO_STATE' undeclared (first use in this function) speexclient.c:164: error: (Each undeclared identifier is reported only once speexclient.c:164:
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
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 =
2009 May 29
1
speex documentation
I believe there is a documentation error regarding speex_preprocess_ctl(preprocess_state, request, ptr); The manual states: SPEEX_PREPROCESS_SET_DENOISE Turns denoising on(1) or off(2) SPEEX_PREPROCESS_SET_AGC Turns automatic gain control (AGC) on(1) or off(2) I noticed that setting a value of 0 turns the setting off. Setting a value of 1 or 2 turns the setting on. While I do think 1 and 0 is more
2007 Jul 24
1
speex_preprocess_run unable to locate
i'm trying to find the speex_preprocess_run fuction and checked in the speex/speex_preprocess.h but the prototype isn't there. I'm using 1.2beta1 checked the trunk and it seems to say that is the right header. wondering if anyone else has/had this issue and if its resolved or my lib just got corrupted somehow. thanks Greg --------------------------------- Be a better
2007 Sep 27
1
Need some clarifications about "speex_preprocess_run"
Simple questions:1. when this method is called for each frame, do I have to call them twice for both the encode process and the decode process?2. does preprocessor do preprocessing on raw PCM data or on encoded speex data? I need to clarify this because i want to know when should I call this function, before the encoding process (i.e. preprocess the pcm data) or after the encoding process (i.e.
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,
2010 Mar 19
4
Speex in flash player: how to work with?
Nicer way: void* speexState = speex_encoder_init(&speex_wb_mode); int speexFrameSize, speexRate; speex_encoder_ctl(speexState, SPEEX_GET_FRAME_SIZE, &speexFrameSize); speex_encoder_ctl(speexState, SPEEX_GET_SAMPLING_RATE, &speexRate); SpeexPreprocessState* speexPreprocessState = speex_preprocess_state_init(speexFrameSize, speexRate); Jozsef -----Original Message----- From: Max
2007 May 03
3
iaxclient & speex
Hi The latest SVN trunk for speex has changed the SpeexPreprocessState to an opaque structure, for jolly good software engineering reasons. However, the Analogue AGC (AAGC) feature of iaxclient (in audio_enode.c) relies on some members of this. It uses speech_prob to detect when there is enough speech to consider AAGC and then loudness2 to decide how to adjust the input mixer. We want to use
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 > >
2009 Jun 18
2
Performance and Optimization
The reasons I have posted these questions are: 1) To find out if Speex can take advantage of SIMD extensions. 2) To maybe learn from someone with previous experience in optimizing Speex for moderns x86 architectures before I set off trying all kinds of things on my own. See answers inline: 2009/6/15 Tom Grandgent <tom at grandgent.com> > Why haven't you tried using release build
2008 Aug 23
1
Echo canceller
I am using 'portaudio' and 'speex' to implement a speech audio capture/playback. Preprocess works fine but not the echo canceller (associated with preprocessor). I have read 'testecho.c' but it didn't help me. What I am doing bad? This is my implementation: One thread to capture and playback, both are different functions called in different times directly from