Changeset e47ade3
- Timestamp:
- Apr 20, 2006, 2:49:06 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:
- e31ac284
- Parents:
- b1585fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitchmcomb.c
rb1585fd re47ade3 112 112 p->theta->data[i][j]=fftgrain->phas[i][j]; 113 113 } 114 //return p->candidates[p->goodcandidate]->ebin; 114 115 return FLOOR(p->candidates[p->goodcandidate]->ebin+.5) + instfreq; 115 116 /*} else { … … 203 204 /* get the biggest peak in the spectrum */ 204 205 root_peak = aubio_pitchmcomb_get_root_peak(peaks,count); 206 /* not enough partials in highest notes, could be forced */ 207 //if (peaks[root_peak].ebin >= aubio_miditofreq(85.)/p->tau) N=2; 208 //if (peaks[root_peak].ebin >= aubio_miditofreq(90.)/p->tau) N=1; 205 209 /* now calculate the energy of each of the 5 combs */ 206 210 for (l=0;l<M;l++) {
Note: See TracChangeset
for help on using the changeset viewer.