This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef _aubio_pitchdetection_t | aubio_pitchdetection_t |
| pitch detection object | |
Enumerations | |
| enum | aubio_pitchdetection_type { aubio_pitch_yin, aubio_pitch_mcomb, aubio_pitch_schmitt, aubio_pitch_fcomb, aubio_pitch_yinfft } |
| pitch detection algorithm More... | |
| enum | aubio_pitchdetection_mode { aubio_pitchm_freq, aubio_pitchm_midi, aubio_pitchm_cent, aubio_pitchm_bin } |
| pitch detection output mode More... | |
Functions | |
| smpl_t | aubio_pitchdetection (aubio_pitchdetection_t *p, fvec_t *ibuf) |
| execute pitch detection on an input signal frame | |
| void | aubio_pitchdetection_set_yinthresh (aubio_pitchdetection_t *p, smpl_t thres) |
| change yin or yinfft tolerance threshold | |
| void | del_aubio_pitchdetection (aubio_pitchdetection_t *p) |
| deletion of the pitch detection object | |
| aubio_pitchdetection_t * | new_aubio_pitchdetection (uint_t bufsize, uint_t hopsize, uint_t channels, uint_t samplerate, aubio_pitchdetection_type type, aubio_pitchdetection_mode mode) |
| creation of the pitch detection object | |
This file creates the objects required for the computation of the selected pitch detection algorithm and output the results, in midi note or Hz.
| smpl_t aubio_pitchdetection | ( | aubio_pitchdetection_t * | p, | |
| fvec_t * | ibuf | |||
| ) |
execute pitch detection on an input signal frame
| p | pitch detection object as returned by new_aubio_pitchdetection | |
| ibuf | input signal of length hopsize |
| void aubio_pitchdetection_set_yinthresh | ( | aubio_pitchdetection_t * | p, | |
| smpl_t | thres | |||
| ) |
change yin or yinfft tolerance threshold
default is 0.15 for yin and 0.85 for yinfft
| void del_aubio_pitchdetection | ( | aubio_pitchdetection_t * | p | ) |
deletion of the pitch detection object
| p | pitch detection object as returned by new_aubio_pitchdetection |
| aubio_pitchdetection_t* new_aubio_pitchdetection | ( | uint_t | bufsize, | |
| uint_t | hopsize, | |||
| uint_t | channels, | |||
| uint_t | samplerate, | |||
| aubio_pitchdetection_type | type, | |||
| aubio_pitchdetection_mode | mode | |||
| ) |
creation of the pitch detection object
| bufsize | size of the input buffer to analyse | |
| hopsize | step size between two consecutive analysis instant | |
| channels | number of channels to analyse | |
| samplerate | sampling rate of the signal | |
| type | set pitch detection algorithm | |
| mode | set pitch units for output |
1.4.7