Changeset a7667ce for src/temporal/adesign.c
- Timestamp:
- Dec 1, 2007, 10:59:25 PM (16 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/adesign.c
r2b6144dd ra7667ce 26 26 #include "temporal/adesign.h" 27 27 28 aubio_filter_t * new_aubio_adsgn_filter(uint_t samplerate ) {29 aubio_filter_t * f = new_aubio_filter(samplerate, 7 );30 lsmp_t * a = f->a ;31 lsmp_t * b = f->b ;28 aubio_filter_t * new_aubio_adsgn_filter(uint_t samplerate, uint_t channels) { 29 aubio_filter_t * f = new_aubio_filter(samplerate, 7, 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, adsgn */ … … 52 52 } 53 53 */ 54 f->a = a;55 f->b = b;54 f->a->data[0] = a; 55 f->b->data[0] = b; 56 56 return f; 57 57 }
Note: See TracChangeset
for help on using the changeset viewer.