search for: decay_high

Displaying 1 result from an estimated 1 matches for "decay_high".

2008 Feb 19
4
Patch for Analog Devices compiler & fixed-point AGC
..._right[i]; } } -void filterbank_psy_smooth(FilterBank *bank, float *ps, float *mask) +void filterbank_psy_smooth(FilterBank *bnk, float *ps, float *mask) { /* Low freq slope: 14 dB/Bark*/ /* High freq slope: 9 dB/Bark*/ @@ -211,13 +211,13 @@ float decay_low = 0.34145f; float decay_high = 0.50119f; filterbank_compute_bank(bank, ps, bark); - for (i=1;i<bank->nb_banks;i++) + for (i=1;i<bnk->nb_banks;i++) { /*float decay_high = 13-1.6*log10(bark[i-1]); decay_high = pow(10,(-decay_high/30.f));*/ bark[i] = bark[i] + decay_high*bark[i-1];...