[Speex-dev] how to improve the voice quality (run speex on ADSP-BF533)

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu May 28 04:20:18 PDT 2009

Are you getting the same quality as the samples in
If not, it's most likely a bug in your code. I suggest you start from
sampleenc/sampledec (in the manual) or testenc.c


Young Free a écrit :
> I bought a ADSP-BF533-EZkit-LITE V2.1 to develop a speech codec
> application using SPEEX. I have tested SpeexEcho project from both
> BlackfinSDK-Rel201 and BlackfinSDK-Rel310.
> When disabling 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 to help me to solve this problem? or send me some renewed
> speech codec demoes can work better on BLACKFIN DSP please.
> I also noiticed that somebody met the same problem unsolved, see:
> http://www.blackfin.org/phorum/read.php?1,8138,8138#msg-8138
> ------------------------------------------------------------------------
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev

More information about the Speex-dev mailing list