Changeset 27f2c08 for python/aubio


Ignore:
Timestamp:
Dec 22, 2005, 5:34:14 PM (19 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
af445db
Parents:
de92b1c
Message:

adds peakpick_pimrt_getval and beattracking functions
adds peakpick_pimrt_getval and beattracking functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/aubioclass.py

    rde92b1c r27f2c08  
    7171    def do(self,fv):
    7272        return aubio_peakpick_pimrt(fv(),self.pp)
     73    def getval(self):
     74        return aubio_peakpick_pimrt_getval(self.pp)
    7375    def __del__(self):
    7476        del_aubio_peakpicker(self.pp)
     
    127129    def __call__(self,myvec):
    128130        aubio_filter_do(self.filter,myvec())
     131
     132class beattracking:
     133    """ class for aubio_beattracking """
     134    def __init__(self,winlen,channels):
     135        self.p = new_aubio_beattracking(winlen,channels)
     136    def do(self,dfframe,out):
     137        return aubio_beattracking_do(self.p,dfframe(),out())
     138    def __del__(self):
     139        del_aubio_beattracking(self.p)
     140
Note: See TracChangeset for help on using the changeset viewer.