Changeset df7be43 for examples/aubioonset.c
- Timestamp:
- Aug 12, 2015, 4:31:40 PM (9 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:
- 3ff50e5
- Parents:
- 340cb93
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubioonset.c
r340cb93 rdf7be43 50 50 { 51 51 if ( is_onset ) { 52 if (strcmp (time_format, "samples") == 0) { 53 outmsg ("%d\n", aubio_onset_get_last (o) ); 54 } else if (strcmp (time_format, "ms") == 0) { 55 outmsg ("%f\n", aubio_onset_get_last_ms (o) ); 56 } else { 57 outmsg ("%f\n", aubio_onset_get_last_s (o) ); 58 } 52 print_time(aubio_onset_get_last (o)); 53 outmsg ("\n"); 59 54 } 60 55 }
Note: See TracChangeset
for help on using the changeset viewer.