Changeset 56ef7e1 for src/pitch/pitchmcomb.c
- Timestamp:
- Oct 18, 2009, 3:08:59 PM (15 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:
- e5f49af
- Parents:
- 74516f7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitchmcomb.c
r74516f7 r56ef7e1 167 167 /* skipped */ /* low pass filtering */ 168 168 /** \bug fvec_moving_thres may write out of bounds */ 169 fvec_adapt_thres(mag,tmp,p->win_post,p->win_pre ); /* adaptative threshold */169 fvec_adapt_thres(mag,tmp,p->win_post,p->win_pre,i); /* adaptative threshold */ 170 170 fvec_add(mag,-p->threshold); /* fixed threshold */ 171 171 { … … 277 277 count += ispeak; 278 278 spectral_peaks[count-1].bin = j; 279 spectral_peaks[count-1].ebin = fvec_quadint(X, j, 1) - 1.;279 spectral_peaks[count-1].ebin = fvec_quadint(X, j, i) - 1.; 280 280 } 281 281 }
Note: See TracChangeset
for help on using the changeset viewer.