Changeset c73268a
- Timestamp:
- Aug 9, 2005, 2:21:08 AM (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:
- c0063da
- Parents:
- 8d84c0b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/peakpick.c
r8d84c0b rc73268a 122 122 smpl_t mean = 0., median = 0.; 123 123 uint_t length = p->win_post + p->win_pre + 1; 124 uint_t i = 0, j ;124 uint_t i = 0, j, isonset = 0; 125 125 126 126 /* store onset in onset_keep */ … … 156 156 onset_proc->data[i][p->win_post] - median - mean * p->threshold; 157 157 158 uint_tisonset = (p->pickerfn)(onset_peek,1);158 isonset = (p->pickerfn)(onset_peek,1); 159 159 160 160 //if ( isonset && peakval != NULL )
Note: See TracChangeset
for help on using the changeset viewer.