shithub: aubio

Download patch

ref: 016dc3b68476402ef863bc55164b2755025eda74
parent: 04c83462a582477ddb09ebdda0ab112df74c139b
author: Paul Brossier <piem@piem.org>
date: Fri Mar 22 08:21:06 EDT 2013

python/lib/gen_pyobject.py: add sampler

--- a/python/lib/gen_pyobject.py
+++ b/python/lib/gen_pyobject.py
@@ -21,6 +21,7 @@
 param_numbers = {
   'source': [0, 2],
   'sink':   [2, 0],
+  'sampler': [1, 1],
 }
 
 # TODO
@@ -100,6 +101,7 @@
     'tempo':        ['1'],
     'peakpicker':   ['1'],
     'source':       ['self->hop_size', '1'],
+    'sampler':      ['self->hop_size'],
 }
 
 # default value for variables