Changeset 27f2c08 for python/aubio
- Timestamp:
- Dec 22, 2005, 5:34:14 PM (19 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:
- af445db
- Parents:
- de92b1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/aubioclass.py
rde92b1c r27f2c08 71 71 def do(self,fv): 72 72 return aubio_peakpick_pimrt(fv(),self.pp) 73 def getval(self): 74 return aubio_peakpick_pimrt_getval(self.pp) 73 75 def __del__(self): 74 76 del_aubio_peakpicker(self.pp) … … 127 129 def __call__(self,myvec): 128 130 aubio_filter_do(self.filter,myvec()) 131 132 class beattracking: 133 """ class for aubio_beattracking """ 134 def __init__(self,winlen,channels): 135 self.p = new_aubio_beattracking(winlen,channels) 136 def do(self,dfframe,out): 137 return aubio_beattracking_do(self.p,dfframe(),out()) 138 def __del__(self): 139 del_aubio_beattracking(self.p) 140
Note: See TracChangeset
for help on using the changeset viewer.