search for: g_pvdec

Displaying 2 results from an estimated 2 matches for "g_pvdec".

2007 Apr 25
0
echo cancellation on Blackfin DSK
...speex_bits_rewind(&g_Bits); SpeexEchoState *st= speex_echo_state_init(SPEEX_FRAME_SIZE,filter_length); speex_echo_cancel(st,(spx_int16_t *)in_left,(spx_int16_t *)out_left,(spx_int16_t *)out2,NULL); speex_echo_state_destroy(st); // Decode the frame speex_decode_int(g_pvDec, &g_Bits, (spx_int16_t *)out_left); #ifdef ALWAYS_PASS_THROUGH memcpy(out_buffer_calc, in_buffer_calc, SPEEX_FRAME_SIZE*sizeof(SND_FIXED_16_TYPE)); #endif //ALWAYS_PASS_THROUGH // Mux the Speex output onto the stereo audio stream for(i = 0; i < SPEEX_FRAME_SIZE; i++)...
2009 May 17
1
how to improve the voice quality (run speex on ADSP-BF533)
...isabling SPEEX processing, i.e. using PASS-THROUGH mode, the output voice is ok, which is exactly as the input voice. However, when enabling SPEEX processing, the output is bad, no matter how to set the parameters in the InitializeSpeex() function. For example, we set: tmp=1; speex_decoder_ctl(g_pvDec, SPEEX_SET_ENH, &tmp); tmp=1; speex_encoder_ctl(g_pvEnc, SPEEX_SET_VBR, &tmp); tmp=8; speex_encoder_ctl(g_pvEnc, SPEEX_SET_QUALITY, &tmp); tmp=3; speex_encoder_ctl(g_pvEnc, SPEEX_SET_COMPLEXITY, &tmp); (the other parameters are preserved as default.) Would you like t...