History

python/lib/aubio/slicing.py: next_stamp can be 0

Paul Brossier committed 12 years ago

Commit d9459761 parent a4ec1891 file · +0 −2Browse files

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

Unified · Split

python/lib/aubio/slicing.py+0−2
@@ -29,8 +29,6 @@ def slice_source_at_stamps(source_file, timestamps, timestamps_end = None, · 28 unmodified lines
29 total_frames = 029 total_frames = 0
30 # get next region30 # get next region
31 next_stamp = int(timestamps.pop(0))31 next_stamp = int(timestamps.pop(0))
32 if not next_stamp:
33 next_stamp = int(timestamps.pop(0))
34 32
35 while True:33 while True:
36 # get hopsize new samples from source34 # get hopsize new samples from source

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