shithub: aubio

Download patch

ref: 7b711b3bb970924dfbf2871c1f28822669d255e7
parent: 340f5c704fb8bd76e7585723df8e634067e9f892
author: Paul Brossier <piem@piem.org>
date: Sun Mar 26 13:48:58 EDT 2017

examples/aubioonset.c: also display awhitening and compression

--- a/examples/aubioonset.c
+++ b/examples/aubioonset.c
@@ -76,7 +76,9 @@
   verbmsg ("buffer_size: %d, ", buffer_size);
   verbmsg ("hop_size: %d, ", hop_size);
   verbmsg ("silence: %f, ", aubio_onset_get_silence(o));
-  verbmsg ("threshold: %f\n", aubio_onset_get_threshold(o));
+  verbmsg ("threshold: %f, ", aubio_onset_get_threshold(o));
+  verbmsg ("awhitening: %f, ", aubio_onset_get_awhitening(o));
+  verbmsg ("compression: %f\n", aubio_onset_get_compression(o));
 
   onset = new_fvec (1);