shithub: aubio

Download patch

ref: 1b62ee9d7641f499bd659d283549fe957786035e
parent: 0b64f15992d04210092b3a1716933695cc9f6773
author: Paul Brossier <piem@piem.org>
date: Tue May 10 19:02:57 EDT 2016

python/lib/aubio/slicing.py: fix samplerate

--- a/python/lib/aubio/slicing.py
+++ b/python/lib/aubio/slicing.py
@@ -39,7 +39,7 @@
 
     # open source file
     _source = source(source_file, samplerate, hopsize)
-    samplerate = source.get_samplerate()
+    samplerate = _source.samplerate
 
     total_frames = 0
     slices = []