Changeset d4791e5 for src/pitch/pitch.c
- Timestamp:
- Jan 3, 2014, 12:47:22 AM (11 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:
- 2e01060
- Parents:
- 89e9e71 (diff), 4fe62ba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitch.c
r89e9e71 rd4791e5 367 367 aubio_pitch_do_specacf (aubio_pitch_t * p, fvec_t * ibuf, fvec_t * out) 368 368 { 369 smpl_t pitch = 0., period; 369 370 aubio_pitch_slideblock (p, ibuf); 370 371 aubio_pitchspecacf_do (p->p_object, p->buf, out); 371 372 //out->data[0] = aubio_bintofreq (out->data[0], p->samplerate, p->bufsize); 372 smpl_t pitch = 0.,period = out->data[0];373 period = out->data[0]; 373 374 if (period > 0) { 374 375 pitch = p->samplerate / period;
Note: See TracChangeset
for help on using the changeset viewer.