Changeset 31907fd for tests


Ignore:
Timestamp:
Nov 3, 2009, 6:23:04 PM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
bf2e7a7
Parents:
bafe71d
Message:

src/spectral/specdesc.{c,h}: rename aubio_onsetdetection to aubio_specdesc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/test-onsetdetection.c

    rbafe71d r31907fd  
    1212  fvec_t *out = new_fvec (1, channels); /* input buffer */
    1313
    14   aubio_onsetdetection_t *o;
     14  aubio_specdesc_t *o;
    1515 
    16   o = new_aubio_onsetdetection ("energy", win_s, channels);
    17   aubio_onsetdetection_do (o, in, out);
    18   del_aubio_onsetdetection (o);
     16  o = new_aubio_specdesc ("energy", win_s, channels);
     17  aubio_specdesc_do (o, in, out);
     18  del_aubio_specdesc (o);
    1919
    20   o = new_aubio_onsetdetection ("energy", win_s, channels);
    21   aubio_onsetdetection_do (o, in, out);
    22   del_aubio_onsetdetection (o);
     20  o = new_aubio_specdesc ("energy", win_s, channels);
     21  aubio_specdesc_do (o, in, out);
     22  del_aubio_specdesc (o);
    2323
    24   o = new_aubio_onsetdetection ("hfc", win_s, channels);
    25   aubio_onsetdetection_do (o, in, out);
    26   del_aubio_onsetdetection (o);
     24  o = new_aubio_specdesc ("hfc", win_s, channels);
     25  aubio_specdesc_do (o, in, out);
     26  del_aubio_specdesc (o);
    2727
    28   o = new_aubio_onsetdetection ("complex", win_s, channels);
    29   aubio_onsetdetection_do (o, in, out);
    30   del_aubio_onsetdetection (o);
     28  o = new_aubio_specdesc ("complex", win_s, channels);
     29  aubio_specdesc_do (o, in, out);
     30  del_aubio_specdesc (o);
    3131
    32   o = new_aubio_onsetdetection ("phase", win_s, channels);
    33   aubio_onsetdetection_do (o, in, out);
    34   del_aubio_onsetdetection (o);
     32  o = new_aubio_specdesc ("phase", win_s, channels);
     33  aubio_specdesc_do (o, in, out);
     34  del_aubio_specdesc (o);
    3535
    36   o = new_aubio_onsetdetection ("kl", win_s, channels);
    37   aubio_onsetdetection_do (o, in, out);
    38   del_aubio_onsetdetection (o);
     36  o = new_aubio_specdesc ("kl", win_s, channels);
     37  aubio_specdesc_do (o, in, out);
     38  del_aubio_specdesc (o);
    3939
    40   o = new_aubio_onsetdetection ("mkl", win_s, channels);
    41   aubio_onsetdetection_do (o, in, out);
    42   del_aubio_onsetdetection (o);
     40  o = new_aubio_specdesc ("mkl", win_s, channels);
     41  aubio_specdesc_do (o, in, out);
     42  del_aubio_specdesc (o);
    4343
    4444  del_cvec (in);
Note: See TracChangeset for help on using the changeset viewer.