search for: pitch_gain_search_3tap

Displaying 9 results from an estimated 9 matches for "pitch_gain_search_3tap".

2006 May 25
1
how to study the speex source code
...d the code ,especially the ltp.c and filters.c file. may you tell me the detail algorithm or the more detail notation of the source code of this two file.including below functions void open_loop_nbest_pitch(float *sw, int start, int end, int len, int *pitch, float *gain, int N, char *stack); float pitch_gain_search_3tap( int forced_pitch_quant( void filter_mem2(float *x, float *num, float *den, float *y, int N, int ord, float *mem) void iir_mem2(float *x, float *den, float *y, int N, int ord, float *mem) void fir_mem2(float *x, float *num, float *y, int N, int ord, float *mem) void syn_percep_zero(float *xx, floa...
2006 Feb 03
2
Speex inner_prod()
Hi, Basically, inner_prod() can and should be adapted to the architecture it will run on. It is not really sensitive to noise, so it's possible to tweak it a lot. Also, in the current code, I saturate it to +-16384, which is OK to prevent overflows. I'm not concerned with the case of a constant -16384 value because it can't really happen in practice (especially after filtering). BTW,
2006 Jan 18
2
TI 6xxx platform performance
...ng 5 or 6 functions. I expect these numbers to translate over the DM642. Symbol Name Count cycle.Total: Incl. cycle.Total:Excl. compute_weighted_codebook 200 4511420 4511420 iir_mem2 599 3338308 3338308 filter_mem2 799 2323655 2323655 compute_impulse_response 200 1800518 1800518 pitch_gain_search_3tap 199 4726604 1744952 open_loop_nbest_pitch 199 4204121 1641016 vq_nbest 800 1626252 1626252 lpc_to_lsp 50 1612650 1558133 nb_encode 50 27412845 1179551 fir_mem2 50 1097300 1097300 inner_prod 27469 1072299 1072299 split_cb_search_shape_sign_N1200 7310588 1007711 normal...
2006 Jan 18
2
Errors in speex lib with Blackfin
Hello! I'v downloaded speex lib 1.1.11.1. I am trying to port speex lib to Blackfin processor. I am using VisualDSP++ 4.0. If I am compiling source codes with using floating point everything ok. When I am compiling with FIXED_POINT defined everything's ok and code works about two times faster. But when I am defining BFIN_ASM I am getting several compiling errors in Blackfin assembler
2006 Feb 04
0
Speex inner_prod(), normalize, C64 MIPS
...e the long add without worrying about overflow. I didn't understand that inner_prod() was always passed scaled vectors. That's the danger of optimizing routines without knowing how they are called. I split a norm_shift() out of your normalize16(). This function can also be used twice in pitch_gain_search_3tap(). Are there any other places that would benefit from this optimized routine? /* Returns number of shifts to normalize a 32 bit vector to [-16384,+16384). */ static inline int norm_shift(const spx_sig_t *x, spx_sig_t max_scale, int len) { int sig_shift_ti; int i; #warn Using the optimiz...
2010 Jan 14
2
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
Hi Jean-Marc, yes, problem exists in narrowband-mode, too. I already twiddled with max_gain, but did not have real success. I changed line 337 of ltp.c (function pitch_gain_search_3tap_vq) if (sum>best_sum && gain_sum<=max_gain) { to if (sum>best_sum && gain_sum<max_gain) { -- that stabilizes speex for 2000 Hz and 2200 Hz input on quality setting 7 (23800 bits/s) complexity 2, while it does not help much for quality setting 9 ((34400 bits/s...
2010 Jan 14
0
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
...rt period of time because of the long-term predictor. Jean-Marc On 2010-01-14 05:57, Frank Lorenz wrote: > Hi Jean-Marc, > > yes, problem exists in narrowband-mode, too. > > I already twiddled with max_gain, but did not have real success. I > changed line 337 of ltp.c (function pitch_gain_search_3tap_vq) > > if (sum>best_sum&& gain_sum<=max_gain) { > > to if (sum>best_sum&& gain_sum<max_gain) { > > -- that stabilizes speex for 2000 Hz and 2200 Hz input on quality > setting 7 (23800 bits/s) complexity 2, while it does not help much > for qual...
2004 Aug 06
4
Speex test cases?
...gy */ cb_search_update target - loop at the comment: /* New code: update the rest of the target only if it's worth it */ These functions represent 1/2 of the compute time at complexity 10 and 4/5 at complexity 4. The next hot functions at low complexity are: qmf_decomp, fir_mem_up and pitch_gain_search_3tap Some questions I have: 1. I haven't been able to get the version of iir_mem2 in filters_sse.h translated and working. Does this work with GCC, I'm burning my eyeballs trying to spot the difference in my version. 2. I don't have a good source of wav data for testing. I've noticed t...
2010 Jan 13
1
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
<body bgcolor="#ffffff" background="https://img.web.de/v/p.gif" class="bgRepeatYes" style="background-repeat: repeat; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-size: 9pt; padding-left: 0px;" ><p>Hi Jean-Marc,</p> <p>&nbsp;</p> <p>yes, I tested with floating point. It is only a fixed point