search for: pitch_search_3tap

Displaying 13 results from an estimated 13 matches for "pitch_search_3tap".

2006 Oct 05
1
ltp.c best_pitch vs. pitch
Hi there, I was browsing the speex code when I stumbled across something I could not understand the reason, and thought maybe it was a bug? In LTP.C function pitch_search_3tap, after searching for the best pitch candidate, the function returns the last pitch candidate rather than the best pitch candidate, is this normal? kind regards, Sufian --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. -------------- nex...
2010 Mar 29
2
Speex on TI DSP 5505
Saju Palayur <saju_pa at hotmail.com> writes: > Hi > > > > We have ported the Narrow band 8 Khz Speex encoder and decoder on to TI DSP 5505 > > > > To compress 20ms of 16 bit audio sampled at 8Khz it takes 4.2ms. > > Is there any optimizations I can do to make it run faster. The first thing to do would be to profile the code (I assume you're using
2007 Aug 06
2
11kbps narrowband on a 24bit DSP
.../*subframeSize*/ 10, /*lpcSize*/ 17, /*pitchStart*/ 144, /*pitchEnd*/ /* 11 kbps medium bit-rate mode */ static const SpeexSubmode nb_submode4 = { -1, 0, 1, 0, /*LSP quantization*/ lsp_quant_lbr, lsp_unquant_lbr, /*Pitch quantization*/ pitch_search_3tap, pitch_unquant_3tap, &ltp_params_med, /*Innovation quantization*/ split_cb_search_shape_sign, split_cb_shape_sign_unquant, &split_cb_nb_med, QCONST16(.45,15), 220 }; /* Parameters for Long-Term Prediction (LTP)*/ static const ltp_params ltp_params_lbr =...
2005 Mar 07
0
Questions about "Complexity"
...is about 5 times higher than for complexity 1. I have verified it while performing my experiments. Complexity is being actively used in the following functions in the libspeex library for Win32: File: cb_search.c split_cb_search_shape_sign -----vq_nbest_sign -----vq_nbest File: ltp.c Function: pitch_search_3tap -----open_loop_nbest_pitch 1) What is "Complexity" used for? What is its role in the codebook search algorithm besides allocating the stack sizes? 2) How does "Complexity" effect the search through the codebook to encode the residual coming out of the short-term predictor? 3)...
2010 Mar 30
0
Speex on TI DSP 5505
Hi When we run the profiler these 3 functions take more than 8500 cycles. split_cb_search_shape_sign_N1() 22782 pitch_search_3tap() 19208 lpc_to_lsp() 16007 So can I configure these in a different way so it takes less cycles. I do not need very high sound quality Thanks for your time Warm Regards Saju > From: yates at ieee.org > To: saju_pa at hotmail.com > CC: speex-dev at xiph.org > Subject: Re: [Speex-d...
2010 Mar 30
2
Speex on TI DSP 5505
Saju Palayur <saju_pa at hotmail.com> writes: > Hi > > > > When we run the profiler these 3 functions take more than 8500 cycles. > > > > split_cb_search_shape_sign_N1() 22782 > pitch_search_3tap() 19208 > lpc_to_lsp() 16007 > > So can I configure these in a different way so it takes less cycles. I am not familiar with the code, so I can't say. I was trying to teach you how to optimize, not give you an optimization. --Randy > I do not need very high sound quality >...
2005 Mar 07
2
VAD with speex_preprocess()
I would like to use speex_preprocess() for voice activity detection. I read the comments in speex_preprocess.h and the relevant paragraphs in the Speex manual. Is there anywhere I can find more information on how to use this function? Thanks for your help, Steve _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today
2007 Aug 06
0
11kbps narrowband on a 24bit DSP
...11 kbps medium bit-rate mode */ > > static const SpeexSubmode nb_submode4 = { > > -1, > > 0, > > 1, > > 0, > > /*LSP quantization*/ > > lsp_quant_lbr, > > lsp_unquant_lbr, > > /*Pitch quantization*/ > > pitch_search_3tap, > > pitch_unquant_3tap, > > &ltp_params_med, > > /*Innovation quantization*/ > > split_cb_search_shape_sign, > > split_cb_shape_sign_unquant, > > &split_cb_nb_med, > > QCONST16(.45,15), > > 220 > > }; &g...
2007 Dec 12
2
Speex crashing on ARM with assembler optimization enabled.
...at bit > of assembly is causing the crash. Can you disable one at a time and check? ok. I'll try binary search, disabling optimizations. Here is disasm of segfault point. Probably it may be helpful. (gdb) bt #0 0x40030334 in open_loop_nbest_pitch () from ./libspeex.so.1 #1 0x400313cc in pitch_search_3tap () from ./libspeex.so.1 #2 0x4002bec0 in nb_encode () from ./libspeex.so.1 #3 0x40036c84 in speex_encode_int () from ./libspeex.so.1 #4 0x00008d68 in main () (gdb) disassemble Dump of assembler code for function open_loop_nbest_pitch: ... skipped... 0x40030300 <open_loop_nbest_pitch+620>:...
2005 May 29
0
cpu utilization across speex versions
...shape_sign_N1 0.21% fir_mem_up 0.20% open_loop_nbest_pitch 0.16% filter_mem2 0.13% split_cb_search_shape_sign 0.12% qmf_decomp No preprocessor, complexity 6: (overall 3.52%) 1.08% vq_nbest 0.63% split_cb_search_shape_sign 0.24% fir_mem_up 0.20% split_cb_search_shape_sign_N1 0.20% filter_mem2 0.19% pitch_search_3tap 0.19% open_loop_nbest_pitch 0.13% qmf_decomp As you can see, there was an improvement for me going from 1.0.1 to 1.0.7. And the complexity makes a difference in CPU usage, but no noticible difference in quality or bandwidth consumption. Other than profiling your app, I can suggest using WB ins...
2007 Dec 12
2
Speex crashing on ARM with assembler optimization enabled.
Hi, I'm trying to get speex working on an ARM board (ARM926EJ-Sid(wb) core, ARM 5TE architecture) and getting segfaults if build with "--enable-fixed-point --enable-arm5e-asm" options. If I use just "--enable-fixed-point", then it runs fine, but once I add "--enable-arm5e-asm" it start crashing (I use testenc to test it). Further investigation showed, that it
2008 Mar 29
0
GCC/ELF Visibility patch
...quant_high -T lsp_unquant_lbr -T lsp_unquant_nb -T multicomb -T nb_decode -T nb_decoder_ctl -T nb_decoder_destroy -T nb_decoder_init -T nb_encode -T nb_encoder_ctl -T nb_encoder_destroy -T nb_encoder_init -T nb_mode_query -T noise_codebook_quant -T noise_codebook_unquant -T open_loop_nbest_pitch -T pitch_search_3tap -T pitch_unquant_3tap -T pitch_xcorr -T qmf_decomp -T qmf_synth -T residue_percep_zero16 -T sanitize_values32 -T sb_decode -T sb_decoder_ctl -T sb_decoder_destroy -T sb_decoder_init -T sb_encode -T sb_encoder_ctl -T sb_encoder_destroy -T sb_encoder_init -T scal_quant -T scal_quant32 -T signal_div -...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...quant_high -T lsp_unquant_lbr -T lsp_unquant_nb -T multicomb -T nb_decode -T nb_decoder_ctl -T nb_decoder_destroy -T nb_decoder_init -T nb_encode -T nb_encoder_ctl -T nb_encoder_destroy -T nb_encoder_init -T nb_mode_query -T noise_codebook_quant -T noise_codebook_unquant -T open_loop_nbest_pitch -T pitch_search_3tap -T pitch_unquant_3tap -T pitch_xcorr -T qmf_decomp -T qmf_synth -T residue_percep_zero16 -T sanitize_values32 -T sb_decode -T sb_decoder_ctl -T sb_decoder_destroy -T sb_decoder_init -T sb_encode -T sb_encoder_ctl -T sb_encoder_destroy -T sb_encoder_init -T scal_quant -T scal_quant32 -T signal_div -...