search for: max_gain

Displaying 7 results from an estimated 7 matches for "max_gain".

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...
2010 Jan 14
0
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
...oes the codec never recover? It's unavoidable that the audio goes bad for a short 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 inpu...
2008 Feb 21
0
st->nb_loudness_adapt removal patch
...+236,6 @@ float *loudness_weight; /**< Perceptual loudness curve */ float loudness; /**< Loudness estimate */ float agc_gain; /**< Current AGC gain */ - int nb_loudness_adapt; /**< Number of frames used for loudness adaptation so far */ float max_gain; /**< Maximum gain allowed */ float max_increase_step; /**< Maximum increase in gain from one frame to another */ float max_decrease_step; /**< Maximum decrease in gain from one frame to another */ @@ -516,7 +515,6 @@ /*st->loudness = pow(AMP_SCALE*st->agc_leve...
2007 Feb 26
3
probably heap corruption detection
Hi, So I see in: split_cb_shape_sign_unquant this call is going wrong: ind[i] = speex_bits_unpack_unsigned(bits, params->shape_bits); ind as a way negative number- basically this should return bet. 0-255 or somesuch right? So seems like I need to reset speex at this point if if (ind[i] > 256) like the note says. So I guess my question is is this range still valid? also what is the
2006 Nov 08
1
Operation with continuous tone
During hardware and network impairment testing, I sometimes just hold down a DTMF key to keep the audio busy. I have found that if I restart the receiver while the transmitter is still encoding DTMF, the receiver plays out a different tone, until the DTMF key goes off an on again. Also, today I captured some Speex frames during a tone (but not including the start of the tone). When I later fed
2009 Apr 24
2
[PATCH] Blackfin: cleanup astat/cc/hardware loop asm clobbers
...t;, "R3", "R4", "R5", + "ASTAT", "CC" BFIN_HWLOOP1_REGS ); } @@ -407,10 +405,7 @@ static int pitch_gain_search_3tap_vq( : "a" (gain_cdbk), "a" (C16), "a" (gain_cdbk_size), "a" (max_gain), "b" (-VERY_LARGE32) : "R0", "R1", "R2", "R3", "R4", "P0", - "P1", "I1", "L1", "A0", "B0" -#if (__GNUC__ == 4) - , "LC1" -#endif +...
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