Changeset cf7c76a for src/pitchdetection.c
- Timestamp:
- Apr 11, 2005, 6:31:48 PM (19 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:
- 84941cb
- Parents:
- a0fd4e4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitchdetection.c
ra0fd4e4 rcf7c76a 104 104 } 105 105 } 106 /* get the autocorr and pitch */ 107 aubio_pitchyin_diff(p->buf,p->yin); 108 aubio_pitchyin_getcum(p->yin); 109 pitch = aubio_pitchyin_getpitch(p->yin); 106 pitch = aubio_pitchyin_getpitchfast(p->buf,p->yin, 0.5); 110 107 if (pitch>0) { 111 108 pitch = p->srate/(pitch+0.); … … 113 110 pitch = 0.; 114 111 } 115 //fprintf(stderr,"%f\n",pitch);116 112 break; 117 113 case mcomb:
Note: See TracChangeset
for help on using the changeset viewer.