- Timestamp:
- Mar 15, 2013, 8:41:02 PM (12 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:
- f5e0a54
- Parents:
- 9778d9a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/onset.c
r9778d9a r376946a 66 66 } 67 67 } else { 68 if (wasonset == -1 && aubio_silence_detection(input, o->silence) == 0) { 69 //AUBIO_MSG("beginning of file is not silent, marking as onset\n", 70 // wasonset, aubio_silence_detection(input, o->silence)); 71 isonset = 4; 72 wasonset = 0; 73 } 68 74 wasonset++; 69 75 } … … 108 114 o->silence = -70; 109 115 o->wasonset = new_fvec(1); 116 o->wasonset->data[0] = -1.; 110 117 o->samplerate = samplerate; 111 118 o->hop_size = hop_size;
Note: See TracChangeset
for help on using the changeset viewer.