Changeset fe163ad for src/pitch/pitchdetection.h
- 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
-
src/pitch/pitchdetection.h
rcd77c15 rfe163ad 32 32 33 33 */ 34 35 /** pitch detection algorithm */36 typedef enum {37 aubio_pitch_yin, /**< YIN algorithm */38 aubio_pitch_mcomb, /**< Multi-comb filter */39 aubio_pitch_schmitt, /**< Schmitt trigger */40 aubio_pitch_fcomb, /**< Fast comb filter */41 aubio_pitch_yinfft /**< Spectral YIN */42 } aubio_pitchdetection_type;43 44 /** pitch detection output mode */45 typedef enum {46 aubio_pitchm_freq, /**< Frequency (Hz) */47 aubio_pitchm_midi, /**< MIDI note (0.,127) */48 aubio_pitchm_cent, /**< Cent */49 aubio_pitchm_bin /**< Frequency bin (0,bufsize) */50 } aubio_pitchdetection_mode;51 34 52 35 /** pitch detection object */ … … 85 68 86 69 */ 87 aubio_pitchdetection_t * new_aubio_pitchdetection(uint_t bufsize, 88 uint_t hopsize, 89 uint_t channels, 90 uint_t samplerate, 91 aubio_pitchdetection_type pitch_type, 92 aubio_pitchdetection_mode pitch_mode); 70 aubio_pitchdetection_t *new_aubio_pitchdetection (char_t * pitch_mode, 71 uint_t bufsize, uint_t hopsize, uint_t channels, uint_t samplerate); 72 73 /** set the output unit of the pitch detection object */ 74 uint_t aubio_pitchdetection_set_unit (aubio_pitchdetection_t *p, char_t * pitch_unit); 93 75 94 76 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.