Changeset 59c046d for src/temporal/filter.c
- Timestamp:
- Oct 19, 2009, 1:52:04 PM (15 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:
- b01bd4a
- Parents:
- b14107f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/temporal/filter.c
rb14107f r59c046d 138 138 } 139 139 140 uint_t 141 aubio_filter_set_samplerate (aubio_filter_t * f, uint_t samplerate) 142 { 143 f->samplerate = samplerate; 144 return AUBIO_OK; 145 } 146 140 147 aubio_filter_t * 141 new_aubio_filter (uint_t samplerate, uint_torder, uint_t channels)148 new_aubio_filter (uint_t order, uint_t channels) 142 149 { 143 150 aubio_filter_t *f = AUBIO_NEW (aubio_filter_t); … … 146 153 f->a = new_lvec (order, 1); 147 154 f->b = new_lvec (order, 1); 148 f->samplerate = samplerate; 155 /* by default, samplerate is not set */ 156 f->samplerate = 0; 149 157 f->order = order; 150 158 /* set default to identity */
Note: See TracChangeset
for help on using the changeset viewer.