From f633b90237364689c4209ff43421c276886bdbc0 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 14 Sep 2018 18:11:34 +0200 Subject: [PATCH] python/lib/gen_code.py: add default for constantq --- python/lib/gen_code.py | 3 +++ 1 file changed, 3 insertions(+) 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 = { -- 2.11.0