From ab7b1b7ffd20616fd38b02c72468fcc6657ec97a Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 18 Mar 2013 11:13:26 -0500 Subject: [PATCH] python/lib/gen_pyobject.py: add block_size for source --- python/lib/gen_pyobject.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/lib/gen_pyobject.py b/python/lib/gen_pyobject.py index bb8b4f23..16480ce1 100644 --- a/python/lib/gen_pyobject.py +++ b/python/lib/gen_pyobject.py @@ -99,7 +99,7 @@ defaultsizes = { 'beattracking': ['self->hop_size'], 'tempo': ['1'], 'peakpicker': ['1'], - 'source': ['self->hop_size', '1'], + 'source': ['self->block_size', '1'], } # default value for variables @@ -115,6 +115,8 @@ aubiodefvalue = { 'buf_size': 'Py_default_vector_length', # and here too 'hop_size': 'Py_default_vector_length / 2', + # add block_size, synonim of hop_size + 'block_size': 'Py_default_vector_length / 2', # these should be alright 'samplerate': 'Py_aubio_default_samplerate', # now for the non obvious ones -- 2.26.2