Changeset 1294862 for swig


Ignore:
Timestamp:
Oct 7, 2009, 7:33:51 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:
e5e693e
Parents:
1b88289
Message:

src/pitch/: change all _detect prototypes to _do

File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/aubio.i

    r1b88289 r1294862  
    163163/* filterbank */
    164164aubio_filterbank_t * new_aubio_filterbank(uint_t win_s, uint_t channels);
    165 void aubio_filterbank_set_mel_coeffs(aubio_filterbank_t *fb, fvec_t *freqs, uint_t samplerate);
     165void aubio_filterbank_set_mel_coeffs(aubio_filterbank_t *fb, uint_t samplerate, fvec_t *freqs);
    166166void aubio_filterbank_set_mel_coeffs_slaney(aubio_filterbank_t *fb, uint_t samplerate);
    167167void del_aubio_filterbank(aubio_filterbank_t * fb);
     
    233233} aubio_pitchdetection_mode;
    234234
    235 smpl_t aubio_pitchdetection(aubio_pitchdetection_t * p, fvec_t * ibuf);
     235smpl_t aubio_pitchdetection_do (aubio_pitchdetection_t * p, fvec_t * ibuf);
    236236
    237237void aubio_pitchdetection_set_yinthresh(aubio_pitchdetection_t *p, smpl_t thres);
     
    249249/* pitch mcomb */
    250250aubio_pitchmcomb_t * new_aubio_pitchmcomb(uint_t bufsize, uint_t hopsize, uint_t channels, uint_t samplerate);
    251 smpl_t aubio_pitchmcomb_detect(aubio_pitchmcomb_t * p, cvec_t * fftgrain);
     251smpl_t aubio_pitchmcomb_do (aubio_pitchmcomb_t * p, cvec_t * fftgrain);
    252252uint_t aubio_pitch_cands(aubio_pitchmcomb_t * p, cvec_t * fftgrain, smpl_t * cands);
    253253void del_aubio_pitchmcomb (aubio_pitchmcomb_t *p);
     
    261261/* pitch schmitt */
    262262aubio_pitchschmitt_t * new_aubio_pitchschmitt (uint_t size, uint_t samplerate);
    263 smpl_t aubio_pitchschmitt_detect (aubio_pitchschmitt_t *p, fvec_t * input);
     263smpl_t aubio_pitchschmitt_do (aubio_pitchschmitt_t *p, fvec_t * input);
    264264void del_aubio_pitchschmitt (aubio_pitchschmitt_t *p);
    265265
    266266/* pitch fcomb */
    267267aubio_pitchfcomb_t * new_aubio_pitchfcomb (uint_t size, uint_t hopsize, uint_t samplerate);
    268 smpl_t aubio_pitchfcomb_detect (aubio_pitchfcomb_t *p, fvec_t * input);
     268smpl_t aubio_pitchfcomb_do (aubio_pitchfcomb_t *p, fvec_t * input);
    269269void del_aubio_pitchfcomb (aubio_pitchfcomb_t *p);
    270270
Note: See TracChangeset for help on using the changeset viewer.