Showing the changes to python/aubio (1 of 9 files). Show all
Unified · Split
| @@ -68,13 +68,13 @@ class pvoc: · 67 unmodified lines | ||
| 68 | 68 | aubio_pvoc_rdo(self.pv,tc(),tf()) |
| 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: |
| 80 | 80 | """ class for aubio_peakpicker """ |
| @@ -91,7 +91,7 @@ class peakpick: · 10 unmodified lines | ||
| 91 | 91 | del_aubio_peakpicker(self.pp) |
| 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) |
| 97 | 97 | self.pv = pvoc(bufsize,hopsize,channels) |