Displaying 20 results from an estimated 42 matches for "speex_preprocess_set_denoise".
2004 Aug 06
2
Question about SPEEX_PREPROCESS_SET_DENOISE
...<p><p>----- Original Message -----
From: "Jean-Marc Valin" <Jean-Marc.Valin@USherbrooke.ca>
To: "speex" <speex-dev@xiph.org>; "Alex Wang" <alex@liveglobalbid.com>
Sent: Friday, May 28, 2004 11:16 PM
Subject: RE: [speex-dev] Question about SPEEX_PREPROCESS_SET_DENOISE
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe...
2004 Aug 06
2
Question about SPEEX_PREPROCESS_SET_DENOISE
...ust 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 the encode I did not use abr or vbr because I can not make them
work.
Does the DENOISE really working in this ver? Or maybe...
2004 Aug 06
2
Question about SPEEX_PREPROCESS_SET_DENOISE
...&f);
What are these source code mean? I can not find any document about them.
-----Original Message-----
From: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org] On Behalf
Of Jean-Marc Valin
Sent: Friday, May 28, 2004 2:42 PM
To: speex; Alex Wang
Subject: Re: [speex-dev] Question about SPEEX_PREPROCESS_SET_DENOISE
I'd say check the result just after denoising (try without denoising
too). Also make sure you've got the right number of samples and all. I
can't say much with the info you're giving me.
Jean-Marc
Le ven 28/05/2004 à 16:29, Alex Wang a écrit :
> I just download the 1.1...
2004 Aug 06
1
Question about SPEEX_PREPROCESS_SET_DENOISE
There is no plan to do it?
<p>----- Original Message -----
From: "Jean-Marc Valin" <Jean-Marc.Valin@USherbrooke.ca>
To: "speex" <speex-dev@xiph.org>
Sent: Sunday, May 30, 2004 10:49 AM
Subject: Re: [speex-dev] Question about SPEEX_PREPROCESS_SET_DENOISE
<p>> Not yet, sorry.
> Le dim 30/05/2004 à 04:20, Fabio a écrit :
> > Hi all,
> > Can i use The denoise preprocess in my pocketpc (ARM XSCALE 400 Mhz)?
> > It seen there is no a fixed point version...
> >
> > Fabio
> >
> >
> >
> > -...
2004 Aug 06
0
Question about SPEEX_PREPROCESS_SET_DENOISE
...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 the encode I did not use abr or vbr because I can not make
> them work.
>...
2008 Feb 15
3
Voice activity detection
...st 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
speex_preprocess_run(preprocess_state, shortPointer);
but how do I know if the frame contained voice? I tried
if (preprocess_state->was_voice == 1)
{
...Do voice present code...
}
But the compiler complains that was_voice is not defined, which, I
ass...
2005 Jan 13
3
Problem encoding sine wave in 1.1.6 and somewhat in 1.0.4
On Thu, 2005-01-13 at 12:42 -0500, Jean-Marc Valin wrote:
> Le jeudi 13 janvier 2005 ? 10:59 -0500, Jared Whitby a ?crit :
> > Interestingly enough.. I started playing around with preprocessing
> > options in 1.1.6 and happened upon the denoise filter
> > (SPEEX_PREPROCESS_SET_DENOISE). When i run the test tone using that
> > option it is completely filtered out and I just get (complete)
> > silence. When the test tone is intermixed with regular voice I only
> > get the voice. So while i still don't quite understand why the test
> > tone dorks up the...
2005 Oct 11
1
noise when passing trougth 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, SPEEX_PREPROCESS_SET_DENOISE,&c);
c = agc;
speex_preprocess_ctl(speex_pp_state, SPEEX_PREPROCESS_SET_AGC, &c);
if(agc) {
float t;
t = agc_level * 3276;
speex_preprocess_ctl(speex_pp_state,SPEEX_PREPROCESS_SET_AGC_LEVEL,&t);
}
c = vox;
speex_preprocess_ctl(speex_pp_state, SPEEX_PREPROCESS_SET_VAD, &c);
[LOOP]
/*...
2007 Jan 08
1
VAD in preprocessor
...SET_PROB_CONTINUE parameters or other anything useful?
int param_enabled = 1;
int param_disabled = 0;
int sampling_rate = 8000;
SpeexPreprocessState *preprocess;
preprocess = speex_preprocess_state_init(frame_size, sampling_rate); /*
frame_size = 160 */
speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_DENOISE,
¶m_enabled);
speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_VAD, ¶m_enabled);
speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_AGC, ¶m_disabled);
/* inputAdd is address of captured input voice (short *).
is_speech_in_preprocessor = speex_preprocess(prepr...
2007 Jun 07
1
speex1.2-beta2 and noise suppression problem
...le and it's very hard to debug, because I'm
using .NET P/Invoke to call native DLL and the application just closes
down when it crashes.
As for the code, it's quite simple, the basic flow is as follows:
1. Init encoder, bits, set SPEEX_SET_SAMPLING_RATE
2. Init preprocessor state, set SPEEX_PREPROCESS_SET_DENOISE
3. Set quality/complexity
4. loop with: encode_stereo, preprocess, encode int
Any suggestions as to what I might be doing wrong? Or is it a bug?
Maybe something with the last fixed-point changes?
--
Piotr Domagalski
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 logical, it
contradicts the documentation.
--
Greg...
2008 Feb 17
1
Voice activity detection
...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
>
> speex_preprocess_run(preprocess_state, shortPointer);
>
> but how do I know if the frame contained voice? I tried
>
> if (preprocess_state->was_voice == 1)
> {
> ...Do voice present code...
> }
>
>...
2010 Jun 28
1
ACE does not work for me at all.
...e_size, 10*_encframe_size);
speex_echo_ctl(_eco_state, SPEEX_ECHO_SET_SAMPLING_RATE, &_sample_rate);
_den_state = speex_preprocess_state_init(_encframe_size, _sample_rate);
speex_preprocess_ctl(_den_state, SPEEX_PREPROCESS_SET_ECHO_STATE,
_eco_state);
tmp=1;
speex_preprocess_ctl(_den_state, SPEEX_PREPROCESS_SET_DENOISE, &tmp);
tmp=1;
speex_preprocess_ctl(_den_state, SPEEX_PREPROCESS_SET_AGC, &tmp);
ftmp=24000; // actually default is 8000(0,32768),here make it louder for
voice is not loudy enough by default. 8000
speex_preprocess_ctl(_den_state, SPEEX_PREPROCESS_SET_AGC_LEVEL, &ftmp);
tmp=1;
speex_pr...
2008 Dec 11
1
preprocessor VAD only rocognize between silence and not silence
...r_ctl(enc_state, SPEEX_SET_DTX, &dtx);
int vbr = 0;
speex_encoder_ctl(enc_state, SPEEX_SET_VBR, &vbr);
// PREPROCESADOR
pre_state = speex_preprocess_state_init(frame_size, samplingrate);
int denoise = 1;
speex_preprocess_ctl(pre_state, SPEEX_PREPROCESS_SET_DENOISE,
&denoise);
int pvad = 1;
speex_preprocess_ctl(pre_state, SPEEX_PREPROCESS_SET_VAD, &pvad);
int agc = 1;
speex_preprocess_ctl(pre_state, SPEEX_PREPROCESS_SET_AGC, &agc);
inicializado = true;
}
__try {
tdestino = 0;
int...
2005 Sep 22
1
Noise :-(
...ializza il preprocessore Speex se non inizializzato */
if(Modem->speex_pp_state == NULL) {
Modem->speex_pp_state = speex_preprocess_state_init(NN,AUDIO_SAMPLERATE);
}
/* Modifica i parametri di Speex */
c = Modem->denoise;
speex_preprocess_ctl(Modem->speex_pp_state, SPEEX_PREPROCESS_SET_DENOISE, &c);
c = Modem->agc;
speex_preprocess_ctl(Modem->speex_pp_state, SPEEX_PREPROCESS_SET_AGC, &c);
if(Modem->agc) {
float t;
t = Modem->agc_level * 3276;
speex_preprocess_ctl(Modem->speex_pp_state, SPEEX_PREPROCESS_SET_AGC_LEVEL, &t);
}
c = Modem->...
2007 Dec 06
2
Some question about speexcodex 1.2 beta2 on linux
...encoder_ctl(state,SPEEX_SET_MODE,&m_encMode);
speex_encoder_ctl(state,SPEEX_SET_BITRATE,&m_bitrate);
// speex_encoder_ctl(state, SPEEX_SET_QUALITY, &tmp);
m_preProcesser = speex_preprocess_state_init(m_frame_size, 8000);
speex_preprocess_ctl(m_preProcesser, SPEEX_PREPROCESS_SET_DENOISE,
&m_iDenoise);
speex_preprocess_ctl(m_preProcesser, SPEEX_PREPROCESS_SET_AGC, &m_iAGC);
fin = fopen("test.pcm", "r+b");
fout = fopen("out.spx", "w+b");
if (fin == NULL || fout == NULL){
printf("FI...
2005 Jan 13
2
Problem encoding sine wave in 1.1.6 and somewhat in 1.0.4
Interestingly enough.. I started playing around with preprocessing
options in 1.1.6 and happened upon the denoise filter
(SPEEX_PREPROCESS_SET_DENOISE). When i run the test tone using that
option it is completely filtered out and I just get (complete)
silence. When the test tone is intermixed with regular voice I only
get the voice. So while i still don't quite understand why the test
tone dorks up the encoder, it looks like I have a way arou...
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,
-----
2009 Sep 02
3
voice sound like robot voice :)
...(uint)speex_bits_nbytes( &codecBits );
// setup preprocessor
speex_encoder_ctl( pCodecEncoderState, SPEEX_GET_FRAME_SIZE,
&encoderFrameSize );
//
pPreprocessorState = speex_preprocess_state_init( encoderFrameSize,
sampleRate );
//
speex_preprocess_ctl( pPreprocessorState, SPEEX_PREPROCESS_SET_DENOISE,
&enabled );
speex_preprocess_ctl( pPreprocessorState, SPEEX_PREPROCESS_SET_VAD,
&disabled );
}
void TVoiceCodec::setupDecoder()
{
// catch invalid sample rates resulting in invalid mode
if ( !pMode )
return;
//
assert( ( pCodecDecoderState == NULL ) && "d...
2009 Jan 19
2
error
...warning: implicit declaration of function
?speex_preprocess_ctl?
msconf.c:84: error: ?Channel? has no member named
?speex_pp?
msconf.c:84: error: ?SPEEX_PREPROCESS_SET_DENOISE? undeclared (first use
in this function)
msconf.c:84: error: (Each undeclared identifier is reported only
once
msconf.c:84: error: for each function it appears
in.)...