ref: adf09b28c9435d9048ee91180530a4d7b7afd620
parent: e126e655330093798522ee10ab2b80d2ac55403d
author: Paul Brossier <piem@piem.org>
date: Mon Oct 29 11:37:14 EDT 2018
[py] [cut] use source.samplerate
--- a/python/lib/aubio/cut.py
+++ b/python/lib/aubio/cut.py
@@ -101,7 +101,7 @@
s = source(source_uri, samplerate, hopsize)
if samplerate == 0:
- samplerate = s.get_samplerate()
+ samplerate = s.samplerate
options.samplerate = samplerate
if options.beat: