filterbank.c: remove aubio_dump_filterbank
authorPaul Brossier <piem@piem.org>
Sun, 16 Sep 2007 20:03:40 +0000 (22:03 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 16 Sep 2007 20:03:40 +0000 (22:03 +0200)
src/filterbank.c

index e34bef074750b7edec9bfe0ed8f97e376129722c..fd1c5a2fb7c0a5d403c38c3aa2eecb0a9d851a79 100644 (file)
@@ -189,24 +189,6 @@ aubio_filterbank_t * new_aubio_filterbank_mfcc(uint_t n_filters, uint_t win_s, u
 
 }
 
-void aubio_dump_filterbank(aubio_filterbank_t * fb){
-
-  FILE * mlog;
-  mlog=fopen("filterbank.txt","w");
-  
-  int k,n;
-  //dumping filter values
-  //smpl_t area_tmp=0.f;
-  for(n = 0; n < fb->n_filters; n++){
-    for(k = 0; k < fb->win_s; k++){
-      fprintf(mlog,"%f ",fb->filters[n]->data[0][k]);
-    }
-    fprintf(mlog,"\n");
-  }
-  
-  if(mlog) fclose(mlog);
-}
-
 void del_aubio_filterbank(aubio_filterbank_t * fb){
   uint_t filter_cnt;
   /** deleting filter tables first */