Changeset 8e8bc50 for swig


Ignore:
Timestamp:
Jun 3, 2005, 2:59:14 AM (20 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:
13340a68
Parents:
c078336
Message:

updated swig wrapper to new pitchdetection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/aubio.i

    rc078336 r8e8bc50  
    158158
    159159/* pitch detection */
     160typedef enum {
     161        aubio_yin,
     162        aubio_mcomb,
     163        aubio_schmitt,
     164        aubio_fcomb
     165} aubio_pitchdetection_type;
     166
     167typedef enum {
     168        aubio_freq,
     169        aubio_midi,
     170        aubio_cent,
     171        aubio_bin
     172} aubio_pitchdetection_mode;
     173
     174smpl_t aubio_pitchdetection(aubio_pitchdetection_t * p, fvec_t * ibuf);
     175smpl_t aubio_pitchdetection_mcomb(aubio_pitchdetection_t *p, fvec_t * ibuf);
     176smpl_t aubio_pitchdetection_yin(aubio_pitchdetection_t *p, fvec_t *ibuf);
     177
     178void del_aubio_pitchdetection(aubio_pitchdetection_t * p);
     179
     180aubio_pitchdetection_t * new_aubio_pitchdetection(uint_t bufsize,
     181                uint_t hopsize,
     182                uint_t channels,
     183                uint_t samplerate,
     184                aubio_pitchdetection_type type,
     185                aubio_pitchdetection_mode mode);
     186
    160187
    161188/* pitch mcomb */
Note: See TracChangeset for help on using the changeset viewer.