- Timestamp:
- Oct 15, 2009, 6:54:23 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:
- 515c7b2
- Parents:
- cd77c15
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
swig/aubio.i
rcd77c15 rfe163ad 199 199 200 200 /* pitch detection */ 201 typedef enum { 202 aubio_pitch_yin, 203 aubio_pitch_mcomb, 204 aubio_pitch_schmitt, 205 aubio_pitch_fcomb, 206 aubio_pitch_yinfft 207 } aubio_pitchdetection_type; 208 209 typedef enum { 210 aubio_pitchm_freq, 211 aubio_pitchm_midi, 212 aubio_pitchm_cent, 213 aubio_pitchm_bin 214 } aubio_pitchdetection_mode; 215 201 aubio_pitchdetection_t *new_aubio_pitchdetection (char *pitch_mode, 202 uint_t bufsize, uint_t hopsize, uint_t channels, uint_t samplerate); 216 203 void aubio_pitchdetection_do (aubio_pitchdetection_t * p, fvec_t * ibuf, fvec_t * obuf); 217 218 204 void aubio_pitchdetection_set_tolerance(aubio_pitchdetection_t *p, smpl_t thres); 219 205 void aubio_pitchdetection_set_unit(aubio_pitchdetection_t *p, char * pitch_unit); 220 206 void del_aubio_pitchdetection(aubio_pitchdetection_t * p); 221 222 aubio_pitchdetection_t * new_aubio_pitchdetection(uint_t bufsize,223 uint_t hopsize,224 uint_t channels,225 uint_t samplerate,226 aubio_pitchdetection_type type,227 aubio_pitchdetection_mode mode);228 207 229 208
Note: See TracChangeset
for help on using the changeset viewer.