From: Paul Brossier Date: Fri, 14 Sep 2018 16:11:34 +0000 (+0200) Subject: python/lib/gen_code.py: add default for constantq X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=f633b90237364689c4209ff43421c276886bdbc0;p=aubio.git python/lib/gen_code.py: add default for constantq --- diff --git a/python/lib/gen_code.py b/python/lib/gen_code.py index d3911974..e998e6c6 100644 --- a/python/lib/gen_code.py +++ b/python/lib/gen_code.py @@ -2,6 +2,7 @@ aubiodefvalue = { # we have some clean up to do 'buf_size': 'Py_default_vector_length', 'win_s': 'Py_default_vector_length', + 'size': 'Py_default_vector_length', # and here too 'hop_size': 'Py_default_vector_length / 2', 'hop_s': 'Py_default_vector_length / 2', @@ -19,6 +20,7 @@ aubiodefvalue = { 'ratio': '0.5', 'method': '"default"', 'uri': '"none"', + 'bins_per_octave': 24, } member_types = { @@ -82,6 +84,7 @@ objoutsize = { 'tempo': '1', 'filterbank': 'self->n_filters', 'tss': 'self->buf_size', + 'constantq': 'aubio_constantq_get_numbins (self->o)', } objinputsize = {