Changeset 1b25a70 for examples/aubioonset.c
- Timestamp:
- Dec 7, 2013, 12:14:50 AM (10 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:
- 44e94f3c
- Parents:
- cc6b221
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubioonset.c
rcc6b221 r1b25a70 20 20 21 21 #include "utils.h" 22 #define PROG_HAS_ONSET 23 #include "parse_args.h" 22 24 23 25 uint_t pos = 0; /*frames%dspblocksize*/ … … 69 71 70 72 int main(int argc, char **argv) { 71 frames_delay = 3;72 73 examples_common_init(argc,argv); 73 74 74 o = new_aubio_onset (onset_m ode, buffer_size, overlap_size, samplerate);75 if ( threshold != 0.) aubio_onset_set_threshold (o,threshold);75 o = new_aubio_onset (onset_method, buffer_size, overlap_size, samplerate); 76 if (onset_threshold != 0.) aubio_onset_set_threshold (o, onset_threshold); 76 77 onset = new_fvec (1); 77 78
Note: See TracChangeset
for help on using the changeset viewer.