Changeset b67e715 for examples/aubioonset.c
- Timestamp:
- Mar 26, 2017, 3:40:49 PM (8 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, sampler
- Children:
- b669066
- Parents:
- 5f0ad50
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubioonset.c
r5f0ad50 rb67e715 63 63 examples_common_init(argc,argv); 64 64 65 verbmsg ("using source: %s at %dHz\n", source_uri, samplerate);66 verbmsg ("onset method: %s, ", onset_method);67 verbmsg ("buffer_size: %d, ", buffer_size);68 verbmsg ("hop_size: %d, ", hop_size);69 verbmsg ("silence: %f, ", silence_threshold);70 verbmsg ("threshold: %f\n", onset_threshold);71 72 65 o = new_aubio_onset (onset_method, buffer_size, hop_size, samplerate); 73 66 if (o == NULL) { ret = 1; goto beach; } … … 78 71 if (onset_minioi != 0.) 79 72 aubio_onset_set_minioi_s (o, onset_minioi); 73 74 verbmsg ("using source: %s at %dHz\n", source_uri, samplerate); 75 verbmsg ("onset method: %s, ", onset_method); 76 verbmsg ("buffer_size: %d, ", buffer_size); 77 verbmsg ("hop_size: %d, ", hop_size); 78 verbmsg ("silence: %f, ", aubio_onset_get_silence(o)); 79 verbmsg ("threshold: %f\n", aubio_onset_get_threshold(o)); 80 80 81 81 onset = new_fvec (1);
Note: See TracChangeset
for help on using the changeset viewer.