Changeset 3502119 for examples/aubioonset.c
- Timestamp:
- Apr 5, 2017, 11:49:57 AM (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:
- c3b1a7d
- Parents:
- 0eca01f (diff), c82859f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubioonset.c
r0eca01f r3502119 44 44 aubio_wavetable_stop ( wavetable ); 45 45 } 46 if (mix_input) 46 if (mix_input) { 47 47 aubio_wavetable_do (wavetable, ibuf, obuf); 48 else48 } else { 49 49 aubio_wavetable_do (wavetable, obuf, obuf); 50 } 50 51 } 51 52 … … 62 63 examples_common_init(argc,argv); 63 64 64 verbmsg ("using source: %s at %dHz\n", source_uri, samplerate);65 verbmsg ("onset method: %s, ", onset_method);66 verbmsg ("buffer_size: %d, ", buffer_size);67 verbmsg ("hop_size: %d, ", hop_size);68 verbmsg ("silence: %f, ", silence_threshold);69 verbmsg ("threshold: %f\n", onset_threshold);70 71 65 o = new_aubio_onset (onset_method, buffer_size, hop_size, samplerate); 72 66 if (o == NULL) { ret = 1; goto beach; } … … 77 71 if (onset_minioi != 0.) 78 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, ", aubio_onset_get_threshold(o)); 80 verbmsg ("awhitening: %f, ", aubio_onset_get_awhitening(o)); 81 verbmsg ("compression: %f\n", aubio_onset_get_compression(o)); 79 82 80 83 onset = new_fvec (1);
Note: See TracChangeset
for help on using the changeset viewer.