From: Paul Brossier Date: Mon, 18 Mar 2013 16:13:26 +0000 (-0500) Subject: python/lib/gen_pyobject.py: add block_size for source X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ab7b1b7ffd20616fd38b02c72468fcc6657ec97a;p=aubio.git python/lib/gen_pyobject.py: add block_size for source --- 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