History

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

Paul Brossier committed 17 years ago

Commit 31907fd1 parent bafe71d9 files · +94 −94Browse files

Showing the changes to python/aubio (1 of 9 files). Show all

Unified · Split

python/aubio/aubioclass.py+5−5
@@ -68,13 +68,13 @@ class pvoc: · 67 unmodified lines
68 aubio_pvoc_rdo(self.pv,tc(),tf())68 aubio_pvoc_rdo(self.pv,tc(),tf())
69 69
70class onsetdetection:70class onsetdetection:
71 """ class for aubio_onsetdetection """71 """ class for aubio_specdesc """
72 def __init__(self,mode,buf,chan):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 def do(self,tc,tf):74 def do(self,tc,tf):
75 aubio_onsetdetection_do(self.od,tc(),tf())75 aubio_specdesc_do(self.od,tc(),tf())
76 def __del__(self):76 def __del__(self):
77 del_aubio_onsetdetection(self.od)77 del_aubio_specdesc(self.od)
78 78
79class peakpick:79class peakpick:
80 """ class for aubio_peakpicker """80 """ class for aubio_peakpicker """
@@ -91,7 +91,7 @@ class peakpick: · 10 unmodified lines
91 del_aubio_peakpicker(self.pp)91 del_aubio_peakpicker(self.pp)
92 92
93class onsetpick:93class onsetpick:
94 """ superclass for aubio_pvoc + aubio_onsetdetection + aubio_peakpicker """94 """ superclass for aubio_pvoc + aubio_specdesc + aubio_peakpicker """
95 def __init__(self,bufsize,hopsize,channels,myvec,threshold,mode='dual',derivate=False,dcthreshold=0):95 def __init__(self,bufsize,hopsize,channels,myvec,threshold,mode='dual',derivate=False,dcthreshold=0):
96 self.myfft = cvec(bufsize,channels)96 self.myfft = cvec(bufsize,channels)
97 self.pv = pvoc(bufsize,hopsize,channels)97 self.pv = pvoc(bufsize,hopsize,channels)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t