Changeset e24378a for examples/aubioonset.c
- Timestamp:
- Nov 13, 2007, 9:15:35 AM (16 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:
- ec0d43c
- Parents:
- 941801f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubioonset.c
r941801f re24378a 72 72 if (isonset && output_filename == NULL) { 73 73 if(frames >= 4) { 74 outmsg("%f\n",(frames- 4)*overlap_size/(float)samplerate);75 } else if (frames < 4) {74 outmsg("%f\n",(frames-frames_delay)*overlap_size/(float)samplerate); 75 } else if (frames < frames_delay) { 76 76 outmsg("%f\n",0.); 77 77 } … … 80 80 81 81 int main(int argc, char **argv) { 82 frames_delay = 4; 82 83 examples_common_init(argc,argv); 83 84 examples_common_process(aubio_process,process_print);
Note: See TracChangeset
for help on using the changeset viewer.