projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4ec189
)
python/lib/aubio/slicing.py: next_stamp can be 0
author
Paul Brossier
<piem@piem.org>
Sun, 12 Jan 2014 04:00:15 +0000
(
00:00
-0400)
committer
Paul Brossier
<piem@piem.org>
Sun, 12 Jan 2014 04:00:15 +0000
(
00:00
-0400)
python/lib/aubio/slicing.py
patch
|
blob
|
history
diff --git
a/python/lib/aubio/slicing.py
b/python/lib/aubio/slicing.py
index
2ffda23
..
9e0af53
100644
(file)
--- a/
python/lib/aubio/slicing.py
+++ b/
python/lib/aubio/slicing.py
@@
-29,8
+29,6
@@
def slice_source_at_stamps(source_file, timestamps, timestamps_end = None,
total_frames = 0
# get next region
next_stamp = int(timestamps.pop(0))
- if not next_stamp:
- next_stamp = int(timestamps.pop(0))
while True:
# get hopsize new samples from source