Changeset 05773a2c


Ignore:
Timestamp:
Oct 8, 2009, 8:52:07 PM (15 years ago)
Author:
Paul Brossier <piem@piem.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:
61316a6
Parents:
7a6cbbe
Message:

swig/aubio.i: update pitch prototypes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/aubio.i

    r7a6cbbe r05773a2c  
    224224} aubio_pitchdetection_mode;
    225225
    226 smpl_t aubio_pitchdetection_do (aubio_pitchdetection_t * p, fvec_t * ibuf);
    227 
    228 void aubio_pitchdetection_set_yinthresh(aubio_pitchdetection_t *p, smpl_t thres);
     226void aubio_pitchdetection_do (aubio_pitchdetection_t * p, fvec_t * ibuf, fvec_t * obuf);
     227
     228void aubio_pitchdetection_set_tolerance(aubio_pitchdetection_t *p, smpl_t thres);
    229229
    230230void del_aubio_pitchdetection(aubio_pitchdetection_t * p);
     
    239239
    240240/* pitch mcomb */
    241 aubio_pitchmcomb_t * new_aubio_pitchmcomb(uint_t bufsize, uint_t hopsize, uint_t channels, uint_t samplerate);
    242 smpl_t aubio_pitchmcomb_do (aubio_pitchmcomb_t * p, cvec_t * fftgrain);
     241aubio_pitchmcomb_t * new_aubio_pitchmcomb(uint_t bufsize, uint_t hopsize, uint_t channels);
     242void aubio_pitchmcomb_do (aubio_pitchmcomb_t * p, cvec_t * fftgrain, fvec_t * out);
    243243void del_aubio_pitchmcomb (aubio_pitchmcomb_t *p);
    244244
    245245/* pitch yin */
    246 void aubio_pitchyin_diff(fvec_t *input, fvec_t *yin);
    247 void aubio_pitchyin_getcum(fvec_t *yin);
    248 uint_t aubio_pitchyin_getpitch(fvec_t *yin);
    249 smpl_t aubio_pitchyin_getpitchfast(fvec_t * input, fvec_t *yin, smpl_t tol);
     246aubio_pitchyin_t * new_aubio_pitchyin(uint_t bufsize);
     247void aubio_pitchyin_do (aubio_pitchyin_t *o, fvec_t * in, fvec_t *out);
     248void del_aubio_pitchyin (aubio_pitchyin_t *p);
    250249
    251250/* pitch schmitt */
    252 aubio_pitchschmitt_t * new_aubio_pitchschmitt (uint_t size, uint_t samplerate);
    253 smpl_t aubio_pitchschmitt_do (aubio_pitchschmitt_t *p, fvec_t * input);
     251aubio_pitchschmitt_t * new_aubio_pitchschmitt (uint_t size);
     252void aubio_pitchschmitt_do (aubio_pitchschmitt_t *p, fvec_t * input, fvec_t *out);
    254253void del_aubio_pitchschmitt (aubio_pitchschmitt_t *p);
    255254
    256255/* pitch fcomb */
    257256aubio_pitchfcomb_t * new_aubio_pitchfcomb (uint_t size, uint_t hopsize, uint_t samplerate);
    258 smpl_t aubio_pitchfcomb_do (aubio_pitchfcomb_t *p, fvec_t * input);
     257void aubio_pitchfcomb_do (aubio_pitchfcomb_t *p, fvec_t * input, fvec_t *out);
    259258void del_aubio_pitchfcomb (aubio_pitchfcomb_t *p);
    260259
Note: See TracChangeset for help on using the changeset viewer.