shithub: aubio

Download patch

ref: 8f86f0eadc9394463fc5b40e4de4a5bf043cee6c
parent: b4d1ba15e95e3ce6f62ddfc395c1950f5fa785e5
author: Paul Brossier <piem@piem.org>
date: Tue Oct 15 20:07:46 EDT 2013

python/lib/generator.py: remove most unstable objects

--- a/python/lib/generator.py
+++ b/python/lib/generator.py
@@ -33,16 +33,31 @@
 
   generated_objects = []
   cpp_output, cpp_objects = get_cpp_objects()
-  skip_objects = ['fft',
+  skip_objects = [
+      # already in ext/
+      'fft',
       'pvoc',
       'filter',
       'filterbank',
+      #'resampler',
+      # AUBIO_UNSTABLE
+      'hist',
+      'scale',
+      'beattracking',
       'resampler',
       'sndfile',
+      'peakpicker',
+      'pitchfcomb',
+      'pitchmcomb',
+      'pitchschmitt',
+      'pitchyin',
+      'pitchyinfft',
       'sink_apple_audio',
       'sink_sndfile',
       'source_apple_audio',
-      'source_sndfile']
+      'source_sndfile',
+      #'sampler',
+      ]
 
   write_msg("-- INFO: %d objects in total" % len(cpp_objects))
 
@@ -179,7 +194,7 @@
 
   s = """// generated list of objects created with generator.py
 
-#include "Python.h"
+#include <Python.h>
 
 """