ref: 45134c5d80f69a506f3619ce88fbafc1b2a54434
parent: 38837b14711df42329c1cad2a78ff51f8f4242da
author: Paul Brossier <[email protected]>
date: Sat Sep 8 15:11:55 EDT 2007
filterbank.c: remove old references to fft_tables
--- a/src/filterbank.c
+++ b/src/filterbank.c
@@ -85,7 +85,6 @@
lin_peak[0] = 700 * (exp(mel_peak[0] / 1127) - 1);
fft_peak[0] = lin_peak[0] / nyquist * M;
-
for (n = 1; n <= fb->n_filters; n++){
/*roll out peak locations - mel, linear and linear on fft window scale */
mel_peak[n] = mel_peak[n - 1] + freq_bw_mel;
@@ -119,12 +118,10 @@
/*zero the start of the array*/
for(k = 0; k < i; k++)
- //fft_tables[n][k] = 0.f;
fb->filters[n]->data[0][k]=0.f;
/*fill in the rise */
for(; i <= fft_peak[n]; i++){
- // fft_tables[n][i] = val;
fb->filters[n]->data[0][k]=val;
val += inc;
}
@@ -137,7 +134,6 @@
/*reverse fill the 'fall' */
for(i = next_peak; i > fft_peak[n]; i--){
- //fft_tables[n][i] = val;
fb->filters[n]->data[0][k]=val;
val += inc;
}
@@ -144,7 +140,6 @@
/*zero the rest of the array*/
for(k = next_peak + 1; k < fb->win_s; k++)
- //fft_tables[n][k] = 0.f;
fb->filters[n]->data[0][k]=0.f;
}