- Timestamp:
- Jul 23, 2006, 1:05:01 PM (18 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:
- da5edf3
- Parents:
- ceed6dc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitchdetection.c
rceed6dc r475da2f 40 40 smpl_t aubio_pitchdetection_yinfft(aubio_pitchdetection_t *p, fvec_t *ibuf); 41 41 42 /** generic pitch detection structure */ 42 43 struct _aubio_pitchdetection_t { 43 aubio_pitchdetection_type type; 44 aubio_pitchdetection_mode mode; 45 uint_t srate; 46 uint_t bufsize; 47 /* for mcomb */ 48 aubio_pvoc_t * pv; 49 cvec_t * fftgrain; 50 aubio_pitchmcomb_t * mcomb; 51 aubio_pitchfcomb_t * fcomb; 52 aubio_pitchschmitt_t * schmitt; 53 aubio_pitchyinfft_t * yinfft; 54 aubio_filter_t * filter; 55 /* for yin */ 56 fvec_t * buf; 57 fvec_t * yin; 58 aubio_pitchdetection_func_t callback; 59 aubio_pitchdetection_conv_t freqconv; 60 smpl_t yinthres; 44 aubio_pitchdetection_type type; /**< pitch detection mode */ 45 aubio_pitchdetection_mode mode; /**< pitch detection output mode */ 46 uint_t srate; /**< samplerate */ 47 uint_t bufsize; /**< buffer size */ 48 aubio_pitchmcomb_t * mcomb; /**< mcomb object */ 49 aubio_pitchfcomb_t * fcomb; /**< fcomb object */ 50 aubio_pitchschmitt_t * schmitt; /**< schmitt object */ 51 aubio_pitchyinfft_t * yinfft; /**< yinfft object */ 52 aubio_filter_t * filter; /**< filter */ 53 aubio_pvoc_t * pv; /**< phase vocoder for mcomb */ 54 cvec_t * fftgrain; /**< spectral frame for mcomb */ 55 fvec_t * buf; /**< temporary buffer for yin */ 56 fvec_t * yin; /**< yin function */ 57 smpl_t yinthres; /**< yin peak picking threshold parameter */ 58 aubio_pitchdetection_func_t callback; /**< pointer to current pitch detection method */ 59 aubio_pitchdetection_conv_t freqconv; /**< pointer to current pitch conversion method */ 61 60 }; 62 61
Note: See TracChangeset
for help on using the changeset viewer.