search for: inputadd

Displaying 3 results from an estimated 3 matches for "inputadd".

Did you mean: input_df
2007 Jan 08
1
VAD in preprocessor
...ize, sampling_rate); /* frame_size = 160 */ speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_DENOISE, &param_enabled); speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_VAD, &param_enabled); speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_AGC, &param_disabled); /* inputAdd is address of captured input voice (short *). is_speech_in_preprocessor = speex_preprocess(preprocess, inputAdd, null); if (is_speech_in_preprocessor != 0) { speex_encode_int(enc_state, inputAdd, bitsAdd); } Thanks a lot in advance, Sincerely, Yasemin -------------- next par...
2006 Dec 29
0
VAD in preprocessor
...ize, sampling_rate); /* frame_size = 160 */ speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_DENOISE, &param_enabled); speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_VAD, &param_enabled); speex_preprocess_ctl(preprocess, SPEEX_PREPROCESS_SET_AGC, &param_disabled); /* inputAdd is address of captured input voice (short *). is_speech_in_preprocessor = speex_preprocess(preprocess, inputAdd, null); if (is_speech_in_preprocessor != 0) { speex_encode_int(enc_state, inputAdd, bitsAdd); } VAD in preprocessor is very good, there is not noise outside speech. I don...
2006 Dec 29
0
using speex in C#
...{ speex_encoder_ctl(enc_state, SPEEX_GET_FRAME_SIZE, fSize); } fixed (SpeexBits *bitsAdd = &enc_bits) { speex_bits_init(bitsAdd); } /* MAX_FRAME_SIZE is a constant and is 2000 */ input_frame = new short[MAX_FRAME_SIZE]; /* From Encode Function */ /* after voice data capture */ fixed (short *inputAdd = input_frame) fixed (SpeexBits *bitsAdd = &enc_bits) { speex_encode_int(enc_state, inputAdd, bitsAdd); encodedDataSize = speex_bits_write(bitsAdd, enc_outputAdd, MAX_FRAME_BYTES); } fixed (SpeexBits *bitsAdd = &enc_bits) { speex_bits_reset(bitsAdd); } -----Original Message-----...