search for: gain_sum

Displaying 3 results from an estimated 3 matches for "gain_sum".

2009 Jan 14
0
[PATCH] Pitch now quantised at the band level, got rid of all the VQ code.
.../* Compute the best gain for each "pitch band" */ -void compute_pitch_gain(const CELTMode *m, const celt_norm_t *X, const celt_norm_t *P, celt_pgain_t *gains) +int compute_pitch_gain(const CELTMode *m, const celt_norm_t *X, const celt_norm_t *P, celt_pgain_t *gains) { int i; + int gain_sum = 0; const celt_int16_t *pBands = m->pBands; const int C = CHANNELS(m); @@ -234,9 +235,11 @@ void compute_pitch_gain(const CELTMode *m, const celt_norm_t *X, const celt_norm Sxy = Sxx; /* We need to be a bit conservative (multiply gain by 0.9), otherwise the...
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) (just slightly reduces the duration of the &quot...
2010 Jan 14
0
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
...n 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 quality setting 9 ((34400 bits/s) (just slightly reduces t...