Changeset 8b28524 for src/onset/peakpick.c
- Timestamp:
- Oct 2, 2009, 1:05:26 AM (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:
- d57c879
- Parents:
- 47eabeb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/peakpick.c
r47eabeb r8b28524 94 94 /* calculate mean and median for onset_proc */ 95 95 /* for (i=0;i<onset_proc->channels;i++) { */ 96 mean = vec_mean(onset_proc);96 mean = fvec_mean(onset_proc); 97 97 /* copy to scratch */ 98 98 for (j = 0; j < length; j++) … … 161 161 t->win_pre = 1; 162 162 163 t->thresholdfn = (aubio_thresholdfn_t)(vec_median); /* ( vec_mean); */163 t->thresholdfn = (aubio_thresholdfn_t)(vec_median); /* (fvec_mean); */ 164 164 t->pickerfn = (aubio_pickerfn_t)(vec_peakpick); 165 165
Note: See TracChangeset
for help on using the changeset viewer.