History

Paul Brossier committed 21 years ago

Commit e997b1a1 parent c0ec39c6 files · +88 −86Browse files

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

Unified · Split

python/aubiocut+1−4
@@ -7,7 +7,7 @@ · 6 unmodified lines
77 from aubio.aubioclass import *
88 import sys
99
10−bufsize = 512
10+bufsize = 1024
1111 hopsize = bufsize/2
1212
1313 def getonsets(filein,threshold):
@@ -33,10 +33,7 @@ def getonsets(filein,threshold): · 19 unmodified lines
3333 while ovalist[i-1] < ovalist[i] and i > 0:
3434 i -= 1
3535 now = (frameread+1-i)*hopsize/(srate+0.)
36− #del fileo
37− #fileo = sndfile("%s%f%s" % ("/tmp/",now,filein[-4:]),model=filei)
3836 mylist.append(now)
39− #writesize = fileo.write(readsize,myoldvec)
4037 frameread += 1
4138 return mylist
4239

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