Changeset 6b0ca87 for python/aubio/task


Ignore:
Timestamp:
Jun 2, 2006, 7:11:24 PM (19 years ago)
Author:
Paul Brossier <piem@altern.org>
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
Message:

task beat() output seconds
task beat() output seconds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubio/task/beat.py

    r1e7ef7c r6b0ca87  
    4040                                period = (60 * self.params.samplerate) / ((now - self.old) * self.params.hopsize)
    4141                                self.old = now
    42                                 return now*self.params.step,period
     42                                return now*self.btstep*self.params.step,period
    4343       
    4444        def eval(self,results,tol=0.20,tolcontext=0.25):
Note: See TracChangeset for help on using the changeset viewer.