Changeset 31907fd for python


Ignore:
Timestamp:
Nov 3, 2009, 6:23:04 PM (15 years ago)
Author:
Paul Brossier <piem@piem.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:
bf2e7a7
Parents:
bafe71d
Message:

src/spectral/specdesc.{c,h}: rename aubio_onsetdetection to aubio_specdesc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/aubioclass.py

    rbafe71d r31907fd  
    6969
    7070class onsetdetection:
    71     """ class for aubio_onsetdetection """
     71    """ class for aubio_specdesc """
    7272    def __init__(self,mode,buf,chan):
    73         self.od = new_aubio_onsetdetection(mode,buf,chan)
     73        self.od = new_aubio_specdesc(mode,buf,chan)
    7474    def do(self,tc,tf):
    75         aubio_onsetdetection_do(self.od,tc(),tf())
     75        aubio_specdesc_do(self.od,tc(),tf())
    7676    def __del__(self):
    77         del_aubio_onsetdetection(self.od)
     77        del_aubio_specdesc(self.od)
    7878
    7979class peakpick:
     
    9292
    9393class onsetpick:
    94     """ superclass for aubio_pvoc + aubio_onsetdetection + aubio_peakpicker """
     94    """ superclass for aubio_pvoc + aubio_specdesc + aubio_peakpicker """
    9595    def __init__(self,bufsize,hopsize,channels,myvec,threshold,mode='dual',derivate=False,dcthreshold=0):
    9696        self.myfft    = cvec(bufsize,channels)
Note: See TracChangeset for help on using the changeset viewer.