examples/aubioonset.c: also display awhitening and compression
authorPaul Brossier <piem@piem.org>
Sun, 26 Mar 2017 15:48:58 +0000 (17:48 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 26 Mar 2017 15:48:58 +0000 (17:48 +0200)
examples/aubioonset.c

index 829597f..18b9a61 100644 (file)
@@ -76,7 +76,9 @@ int main(int argc, char **argv) {
   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);