Changeset 05773a2c
- Timestamp:
- Oct 8, 2009, 8:52:07 PM (15 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
swig/aubio.i
r7a6cbbe r05773a2c 224 224 } aubio_pitchdetection_mode; 225 225 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);226 void aubio_pitchdetection_do (aubio_pitchdetection_t * p, fvec_t * ibuf, fvec_t * obuf); 227 228 void aubio_pitchdetection_set_tolerance(aubio_pitchdetection_t *p, smpl_t thres); 229 229 230 230 void del_aubio_pitchdetection(aubio_pitchdetection_t * p); … … 239 239 240 240 /* 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);241 aubio_pitchmcomb_t * new_aubio_pitchmcomb(uint_t bufsize, uint_t hopsize, uint_t channels); 242 void aubio_pitchmcomb_do (aubio_pitchmcomb_t * p, cvec_t * fftgrain, fvec_t * out); 243 243 void del_aubio_pitchmcomb (aubio_pitchmcomb_t *p); 244 244 245 245 /* 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); 246 aubio_pitchyin_t * new_aubio_pitchyin(uint_t bufsize); 247 void aubio_pitchyin_do (aubio_pitchyin_t *o, fvec_t * in, fvec_t *out); 248 void del_aubio_pitchyin (aubio_pitchyin_t *p); 250 249 251 250 /* 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);251 aubio_pitchschmitt_t * new_aubio_pitchschmitt (uint_t size); 252 void aubio_pitchschmitt_do (aubio_pitchschmitt_t *p, fvec_t * input, fvec_t *out); 254 253 void del_aubio_pitchschmitt (aubio_pitchschmitt_t *p); 255 254 256 255 /* pitch fcomb */ 257 256 aubio_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);257 void aubio_pitchfcomb_do (aubio_pitchfcomb_t *p, fvec_t * input, fvec_t *out); 259 258 void del_aubio_pitchfcomb (aubio_pitchfcomb_t *p); 260 259
Note: See TracChangeset
for help on using the changeset viewer.