- Timestamp:
- Feb 4, 2011, 10:26:10 AM (14 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:
- 34422b4, 42515ac
- Parents:
- b583b9fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitchmcomb.c
rb583b9fb r1a74ac3 112 112 newmag->data[j] = fftgrain->norm[j]; 113 113 /* detect only if local energy > 10. */ 114 //if (fvec_local_energy(newmag) >10.) {114 //if (fvec_local_energy(newmag) * newmag->length > 10.) { 115 115 //hfc = fvec_local_hfc(newmag); //not used 116 116 aubio_pitchmcomb_spectral_pp (p, newmag); … … 147 147 newmag->data[j] = fftgrain->norm[j]; 148 148 /* detect only if local energy > 10. */ 149 if (fvec_local_energy (newmag) > 10.) {149 if (fvec_local_energy (newmag) * newmag->length > 10.) { 150 150 /* hfc = fvec_local_hfc(newmag); do not use */ 151 151 aubio_pitchmcomb_spectral_pp (p, newmag);
Note: See TracChangeset
for help on using the changeset viewer.