shithub: aubio

Download patch

ref: 0e59ae002178f6c91731cc91408ec2c4c55b0b7c
parent: 5c1200a07d442662cc3279233173686679737953
author: Paul Brossier <piem@piem.org>
date: Mon Apr 18 19:21:31 EDT 2016

python/lib/aubio/slicing.py: make sure we get a list of regions (python3, see #33)

--- a/python/lib/aubio/slicing.py
+++ b/python/lib/aubio/slicing.py
@@ -22,7 +22,7 @@
     else:
         timestamps_end = [t - 1 for t in timestamps[1:] ] + [ max_timestamp ]
 
-    regions = zip(timestamps, timestamps_end)
+    regions = list(zip(timestamps, timestamps_end))
     #print regions
 
     source_base_name, source_ext = os.path.splitext(os.path.basename(source_file))