Changes in / [1cf031a:ef0a430]
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified VERSION ¶
r1cf031a ref0a430 1 1 AUBIO_MAJOR_VERSION=0 2 2 AUBIO_MINOR_VERSION=4 3 AUBIO_PATCH_VERSION= 94 AUBIO_VERSION_STATUS=' ~alpha'3 AUBIO_PATCH_VERSION=8 4 AUBIO_VERSION_STATUS='' 5 5 LIBAUBIO_LT_CUR=5 6 6 LIBAUBIO_LT_REV=4 -
TabularUnified src/spectral/filterbank.c ¶
r1cf031a ref0a430 43 43 /* allocate space for filterbank object */ 44 44 aubio_filterbank_t *fb = AUBIO_NEW (aubio_filterbank_t); 45 46 if ((sint_t)n_filters <= 0) {47 AUBIO_ERR("filterbank: n_filters should be > 0, got %d\n", n_filters);48 goto fail;49 }50 if ((sint_t)win_s <= 0) {51 AUBIO_ERR("filterbank: win_s should be > 0, got %d\n", win_s);52 goto fail;53 }54 45 fb->win_s = win_s; 55 46 fb->n_filters = n_filters; … … 63 54 64 55 return fb; 65 fail:66 AUBIO_FREE (fb);67 return NULL;68 56 } 69 57 -
TabularUnified src/spectral/specdesc.c ¶
r1cf031a ref0a430 297 297 onset_type = aubio_onset_default; 298 298 else { 299 AUBIO_ERR("specdesc: unknown spectral descriptor type '%s'\n", 300 onset_mode); 299 AUBIO_ERR("unknown spectral descriptor type %s\n", onset_mode); 301 300 AUBIO_FREE(o); 302 301 return NULL; -
TabularUnified tests/src/spectral/test-filterbank.c ¶
r1cf031a ref0a430 8 8 cvec_t *in_spec = new_cvec (win_s); // input vector of samples 9 9 fvec_t *out_filters = new_fvec (n_filters); // per-band outputs 10 11 if (new_aubio_filterbank(0, win_s)) return 1;12 if (new_aubio_filterbank(n_filters, 0)) return 1;13 10 14 11 // create filterbank object
Note: See TracChangeset
for help on using the changeset viewer.