From dcc8d90beb1513384145a8f52ae3ea0d839da18f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 1 Mar 2006 03:15:06 +0000 Subject: [PATCH] fix norm in aubioclass fix norm in aubioclass --- python/aubio/aubioclass.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/python/aubio/aubioclass.py b/python/aubio/aubioclass.py index 6c518eab..dd4eef18 100644 --- a/python/aubio/aubioclass.py +++ b/python/aubio/aubioclass.py @@ -24,7 +24,18 @@ class cvec: def __del__(self): del_cvec(self()) def get(self,pos,chan): - return fvec_read_sample(self(),chan,pos) + return cvec_read_norm(self(),chan,pos) + + """ + cvec_write_norm(cvec_t *s, smpl_t data, uint_t channel, uint_t position); + cvec_write_phas(cvec_t *s, smpl_t data, uint_t channel, uint_t position); + cvec_read_norm (cvec_t *s, uint_t channel, uint_t position); + cvec_read_phas (cvec_t *s, uint_t channel, uint_t position); + cvec_put_norm_channel(cvec_t *s, smpl_t * data, uint_t channel); + cvec_put_phas_channel(cvec_t *s, smpl_t * data, uint_t channel); + cvec_get_norm_channel(cvec_t *s, uint_t channel); + cvec_get_phas_channel(cvec_t *s, uint_t channel); + """ class sndfile: def __init__(self,filename,model=None): -- 2.26.2