Changes in examples/aubioonset.c [e24378a:660cad22]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified examples/aubioonset.c ¶
re24378a r660cad22 72 72 if (isonset && output_filename == NULL) { 73 73 if(frames >= 4) { 74 outmsg("%f\n",(frames- frames_delay)*overlap_size/(float)samplerate);75 } else if (frames < frames_delay) {74 outmsg("%f\n",(frames-4)*overlap_size/(float)samplerate); 75 } else if (frames < 4) { 76 76 outmsg("%f\n",0.); 77 77 } … … 80 80 81 81 int main(int argc, char **argv) { 82 frames_delay = 4;83 82 examples_common_init(argc,argv); 84 83 examples_common_process(aubio_process,process_print);
Note: See TracChangeset
for help on using the changeset viewer.