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
6868 aubio_pvoc_rdo(self.pv,tc(),tf())
6969
7070 class 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
7979 class peakpick:
8080 """ class for aubio_peakpicker """
@@ -91,7 +91,7 @@ class peakpick: · 10 unmodified lines
9191 del_aubio_peakpicker(self.pp)
9292
9393 class 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)
9797 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