History

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

Paul Brossier committed 20 years ago

Commit 6b0ca871 parent 1e7ef7c1 file · +1 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/aubio/task/beat.py+1−1
@@ -39,7 +39,7 @@ class taskbeat(taskonset): · 38 unmodified lines
3939 now = self.frameread-0
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):
4545 obeats = self.gettruth()

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