Displaying 2 results from an estimated 2 matches for "g_pvenc".
Did you mean:
g_pfunc
2009 May 17
1
how to improve the voice quality (run speex on ADSP-BF533)
...put 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 to help me to solve this problem? or send me some renewed speech...
2007 Apr 25
0
echo cancellation on Blackfin DSK
...#ifndef ACTIVATE_STEREO
// Demux the stereo stream
for(i = 0; i < SPEEX_FRAME_SIZE; i++)
{
*in_left++ = *in++; // channel 1
in++; // channel 2
}
in_left = in_buffer_calc;
speex_bits_reset(&g_Bits);
// Encode the frame
speex_encode_int(g_pvEnc, (spx_int16_t *)in_left, &g_Bits);
nbBits = speex_bits_write(&g_Bits, cbits, 200);
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...