From 45134c5d80f69a506f3619ce88fbafc1b2a54434 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 8 Sep 2007 19:11:55 +0200 Subject: [PATCH] filterbank.c: remove old references to fft_tables --- src/filterbank.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/filterbank.c b/src/filterbank.c index 212cf48b..efeb55a9 100644 --- a/src/filterbank.c +++ b/src/filterbank.c @@ -85,7 +85,6 @@ aubio_filterbank_t * new_aubio_filterbank_mfcc(uint_t n_filters, uint_t win_s, s 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 @@ aubio_filterbank_t * new_aubio_filterbank_mfcc(uint_t n_filters, uint_t win_s, s /*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,14 +134,12 @@ aubio_filterbank_t * new_aubio_filterbank_mfcc(uint_t n_filters, uint_t win_s, s /*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; } /*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; } -- 2.26.2