Changeset 741bdda for src/temporal/biquad.c
- Timestamp:
- Dec 4, 2009, 1:39:30 AM (14 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:
- d207300
- Parents:
- d95ff38
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/temporal/biquad.c
rd95ff38 r741bdda 36 36 return AUBIO_FAIL; 37 37 } 38 bs->data[0] [0]= b0;39 bs->data[ 0][1] = b1;40 bs->data[ 0][2] = b2;41 as->data[0] [0]= 1.;42 as->data[ 0][1] = a1;43 as->data[ 0][1] = a2;38 bs->data[0] = b0; 39 bs->data[1] = b1; 40 bs->data[2] = b2; 41 as->data[0] = 1.; 42 as->data[1] = a1; 43 as->data[1] = a2; 44 44 return AUBIO_OK; 45 45 } 46 46 47 47 aubio_filter_t * 48 new_aubio_filter_biquad (lsmp_t b0, lsmp_t b1, lsmp_t b2, lsmp_t a1, lsmp_t a2, 49 uint_t channels) 48 new_aubio_filter_biquad (lsmp_t b0, lsmp_t b1, lsmp_t b2, lsmp_t a1, lsmp_t a2) 50 49 { 51 aubio_filter_t *f = new_aubio_filter (3 , channels);50 aubio_filter_t *f = new_aubio_filter (3); 52 51 aubio_filter_set_biquad (f, b0, b1, b2, a1, a2); 53 52 return f;
Note: See TracChangeset
for help on using the changeset viewer.