Changes in / [1cf031a:ef0a430]


Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified VERSION

    r1cf031a ref0a430  
    11AUBIO_MAJOR_VERSION=0
    22AUBIO_MINOR_VERSION=4
    3 AUBIO_PATCH_VERSION=9
    4 AUBIO_VERSION_STATUS='~alpha'
     3AUBIO_PATCH_VERSION=8
     4AUBIO_VERSION_STATUS=''
    55LIBAUBIO_LT_CUR=5
    66LIBAUBIO_LT_REV=4
  • TabularUnified src/spectral/filterbank.c

    r1cf031a ref0a430  
    4343  /* allocate space for filterbank object */
    4444  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   }
    5445  fb->win_s = win_s;
    5546  fb->n_filters = n_filters;
     
    6354
    6455  return fb;
    65 fail:
    66   AUBIO_FREE (fb);
    67   return NULL;
    6856}
    6957
  • TabularUnified src/spectral/specdesc.c

    r1cf031a ref0a430  
    297297      onset_type = aubio_onset_default;
    298298  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);
    301300      AUBIO_FREE(o);
    302301      return NULL;
  • TabularUnified tests/src/spectral/test-filterbank.c

    r1cf031a ref0a430  
    88  cvec_t *in_spec = new_cvec (win_s); // input vector of samples
    99  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;
    1310
    1411  // create filterbank object
Note: See TracChangeset for help on using the changeset viewer.