Changeset 7f6f880 for src/onset/onset.c
- Timestamp:
- Sep 28, 2016, 3:23:01 PM (8 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch
- Children:
- 683d52f5
- Parents:
- 68586d4 (diff), 80d0083 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/onset.c
r68586d4 r7f6f880 191 191 goto beach; 192 192 } else if (buf_size < hop_size) { 193 AUBIO_ERR("onset: hop size (%d) is larger than win size (%d)\n", buf_size, hop_size);193 AUBIO_ERR("onset: hop size (%d) is larger than win size (%d)\n", hop_size, buf_size); 194 194 goto beach; 195 195 } else if ((sint_t)samplerate < 1) { … … 206 206 o->pp = new_aubio_peakpicker(); 207 207 o->od = new_aubio_specdesc(onset_mode,buf_size); 208 if (o->od == NULL) goto beach_specdesc; 208 209 o->fftgrain = new_cvec(buf_size); 209 210 o->desc = new_fvec(1); … … 220 221 return o; 221 222 223 beach_specdesc: 224 del_aubio_peakpicker(o->pp); 225 del_aubio_pvoc(o->pv); 222 226 beach: 223 227 AUBIO_FREE(o);
Note: See TracChangeset
for help on using the changeset viewer.