From: Paul Brossier Date: Sun, 16 Sep 2007 20:03:40 +0000 (+0200) Subject: filterbank.c: remove aubio_dump_filterbank X-Git-Tag: bzr2git~442^2~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff68b34f21a309a5342b0d70f9be350f429f0143;p=aubio.git filterbank.c: remove aubio_dump_filterbank --- diff --git a/src/filterbank.c b/src/filterbank.c index e34bef07..fd1c5a2f 100644 --- a/src/filterbank.c +++ b/src/filterbank.c @@ -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 */