Changeset 5cf415f for swig


Ignore:
Timestamp:
Aug 9, 2005, 8:35:14 PM (19 years ago)
Author:
Paul Brossier <piem@altern.org>
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:
b1f723d
Parents:
a29ad46
Message:

protected onset enumerators, factorise python check_modes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/aubio.i

    ra29ad46 r5cf415f  
    139139
    140140/* onset detection */
    141 typedef enum { energy, specdiff, hfc, complexdomain, phase, kl, mkl } aubio_onsetdetection_type;
     141typedef enum {
     142        aubio_onset_energy,
     143        aubio_onset_specdiff,
     144        aubio_onset_hfc,
     145        aubio_onset_complex,
     146        aubio_onset_phase,
     147        aubio_onset_kl,
     148        aubio_onset_mkl
     149} aubio_onsetdetection_type;
    142150aubio_onsetdetection_t * new_aubio_onsetdetection(aubio_onsetdetection_type type, uint_t size, uint_t channels);
    143151void aubio_onsetdetection(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
     
    146154/* should these still be exposed ? */
    147155void aubio_onsetdetection_energy  (aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
    148 void aubio_onsetdetection_hfc   (aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
     156void aubio_onsetdetection_hfc     (aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
    149157void aubio_onsetdetection_complex (aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
    150158void aubio_onsetdetection_phase   (aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
    151159void aubio_onsetdetection_specdiff(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
     160void aubio_onsetdetection_kl      (aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
     161void aubio_onsetdetection_mkl     (aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
    152162
    153163/* pvoc */
Note: See TracChangeset for help on using the changeset viewer.