- Timestamp:
- Nov 3, 2009, 6:23:04 PM (15 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/aubioclass.py
rbafe71d r31907fd 69 69 70 70 class onsetdetection: 71 """ class for aubio_ onsetdetection"""71 """ class for aubio_specdesc """ 72 72 def __init__(self,mode,buf,chan): 73 self.od = new_aubio_ onsetdetection(mode,buf,chan)73 self.od = new_aubio_specdesc(mode,buf,chan) 74 74 def do(self,tc,tf): 75 aubio_ onsetdetection_do(self.od,tc(),tf())75 aubio_specdesc_do(self.od,tc(),tf()) 76 76 def __del__(self): 77 del_aubio_ onsetdetection(self.od)77 del_aubio_specdesc(self.od) 78 78 79 79 class peakpick: … … 92 92 93 93 class onsetpick: 94 """ superclass for aubio_pvoc + aubio_ onsetdetection+ aubio_peakpicker """94 """ superclass for aubio_pvoc + aubio_specdesc + aubio_peakpicker """ 95 95 def __init__(self,bufsize,hopsize,channels,myvec,threshold,mode='dual',derivate=False,dcthreshold=0): 96 96 self.myfft = cvec(bufsize,channels)
Note: See TracChangeset
for help on using the changeset viewer.