Changeset 71f98f1 for python/aubio


Ignore:
Timestamp:
May 23, 2005, 12:40:33 AM (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:
296c33a
Parents:
2cdae81
Message:

add aubioplot-onset, minor fixes on aubiocut and aubioclass.py
add aubioplot-onset, minor fixes on aubiocut and aubioclass.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/aubioclass.py

    r2cdae81 r71f98f1  
    5555
    5656class onsetdetection:
     57    """ class for aubio_onsetdetection """
    5758    def __init__(self,type,buf,chan):
    5859        self.od = new_aubio_onsetdetection(type,buf,chan)
     
    6364
    6465class peakpick:
     66    """ class for aubio_peakpicker """
    6567    def __init__(self,threshold=0.1):
    6668        self.pp = new_aubio_peakpicker(threshold)
     
    7173
    7274class onsetpick:
     75    """ superclass for aubio_pvoc + aubio_onsetdetection + aubio_peakpicker """
    7376    def __init__(self,bufsize,hopsize,channels,myvec,threshold,mode='dual'):
    7477        self.myfft    = cvec(bufsize,channels)
     
    152155        return mylist
    153156
    154 
    155157def getonsets(filein,threshold=0.2,silence=-70.,bufsize=1024,hopsize=512,mode='dual'):
    156158        frameread = 0
     
    185187        return mylist
    186188
    187 
    188189class pitchpick:
    189190    def __init__(self,bufsize,hopsize,channels,myvec,srate):
Note: See TracChangeset for help on using the changeset viewer.