shithub: aubio

Download patch

ref: cb243f285a2b65c583f214b7ccbb5cea33b5471f
parent: adc47c9c432e386296db329dddd6a8701462ab9b
author: Paul Brossier <piem@piem.org>
date: Fri Mar 15 17:23:10 EDT 2013

examples/aubiopitch.c: fix pitch mode selection

--- a/examples/aubiopitch.c
+++ b/examples/aubiopitch.c
@@ -63,7 +63,7 @@
 int main(int argc, char **argv) {
   examples_common_init(argc,argv);
 
-  o = new_aubio_pitch (onset_mode, buffer_size, overlap_size, samplerate);
+  o = new_aubio_pitch (pitch_mode, buffer_size, overlap_size, samplerate);
   pitch = new_fvec (1);
 
   examples_common_process(aubio_process,process_print);