Changeset a7667ce for src/temporal/cdesign.c
- Timestamp:
- Dec 1, 2007, 10:59:25 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:
- 6913434
- Parents:
- 2b6144dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/temporal/cdesign.c
r2b6144dd ra7667ce 26 26 #include "temporal/adesign.h" 27 27 28 aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate ) {29 aubio_filter_t * f = new_aubio_filter(samplerate, 5 );30 lsmp_t * a = f->a ;31 lsmp_t * b = f->b ;28 aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate, uint_t channels) { 29 aubio_filter_t * f = new_aubio_filter(samplerate, 5, channels); 30 lsmp_t * a = f->a->data[0]; 31 lsmp_t * b = f->b->data[0]; 32 32 /* uint_t l; */ 33 33 /* for now, 44100, cdsgn */ … … 48 48 } 49 49 */ 50 f->a = a;51 f->b = b;50 f->a->data[0] = a; 51 f->b->data[0] = b; 52 52 return f; 53 53 }
Note: See TracChangeset
for help on using the changeset viewer.