Changeset 45134c5


Ignore:
Timestamp:
Sep 8, 2007, 7:11:55 PM (17 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
7a46bf6, e5f6a0b
Parents:
38837b1
Message:

filterbank.c: remove old references to fft_tables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/filterbank.c

    r38837b1 r45134c5  
    8686  fft_peak[0] = lin_peak[0] / nyquist * M;
    8787
    88 
    8988  for (n = 1; n <= fb->n_filters; n++){ 
    9089    /*roll out peak locations - mel, linear and linear on fft window scale */
     
    120119    /*zero the start of the array*/
    121120    for(k = 0; k < i; k++)
    122       //fft_tables[n][k] = 0.f;
    123121      fb->filters[n]->data[0][k]=0.f;
    124122
    125123    /*fill in the rise */
    126124    for(; i <= fft_peak[n]; i++){
    127       // fft_tables[n][i] = val;
    128125      fb->filters[n]->data[0][k]=val;
    129126      val += inc;
     
    138135    /*reverse fill the 'fall' */
    139136    for(i = next_peak; i > fft_peak[n]; i--){
    140       //fft_tables[n][i] = val;
    141137      fb->filters[n]->data[0][k]=val;
    142138      val += inc;
     
    145141    /*zero the rest of the array*/
    146142    for(k = next_peak + 1; k < fb->win_s; k++)
    147       //fft_tables[n][k] = 0.f;
    148143      fb->filters[n]->data[0][k]=0.f;
    149144  }
Note: See TracChangeset for help on using the changeset viewer.