Changeset f918cb9
- Timestamp:
- Sep 8, 2007, 2:12:36 PM (17 years ago)
- 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:
- 55ce41c
- Parents:
- 73eaa2e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/filterbank.c
r73eaa2e rf918cb9 1 1 /* 2 Copyright (C) 2007 Amaury Hazan 3 Ported to aubio from LibXtract 4 http://libxtract.sourceforge.net/ 5 2 Copyright (C) 2007 Amaury Hazan <ahazan@iua.upf.edu> 3 and Paul Brossier <piem@piem.org> 6 4 7 5 This program is free software; you can redistribute it and/or modify … … 21 19 */ 22 20 21 /* part of this mfcc implementation were inspired from LibXtract 22 http://libxtract.sourceforge.net/ 23 */ 24 23 25 #include "aubio_priv.h" 24 26 #include "filterbank.h" 25 26 27 // Struct Declaration28 27 29 28 /** \brief A structure to store a set of n_filters filters of lenghts win_s */ … … 35 34 36 35 aubio_filterbank_t * new_aubio_filterbank(uint_t n_filters, uint_t win_s){ 37 38 int filter_cnt;39 36 /** allocating space for filterbank object */ 40 37 aubio_filterbank_t * fb = AUBIO_NEW(aubio_filterbank_t); 38 uint_t filter_cnt; 41 39 fb->win_s=win_s; 42 40 fb->n_filters=n_filters; 43 41 44 42 /** allocating filter tables */ 45 fb->filters=AUBIO_ARRAY(n_filters,f _vec_t);43 fb->filters=AUBIO_ARRAY(n_filters,fvec_t); 46 44 for (filter_cnt=0; filter_cnt<n_filters; filter_cnt++) 47 45 /* considering one-channel filters */
Note: See TracChangeset
for help on using the changeset viewer.