Changeset 6b0ca87 for python/aubio/task
- Timestamp:
- Jun 2, 2006, 7:11:24 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:
- 14aae81
- Parents:
- 1e7ef7c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/task/beat.py
r1e7ef7c r6b0ca87 40 40 period = (60 * self.params.samplerate) / ((now - self.old) * self.params.hopsize) 41 41 self.old = now 42 return now*self. params.step,period42 return now*self.btstep*self.params.step,period 43 43 44 44 def eval(self,results,tol=0.20,tolcontext=0.25):
Note: See TracChangeset
for help on using the changeset viewer.