shithub: aubio

Download patch

ref: 7ed058cb5729e9ef8ed249e0ce233442537be3fc
parent: a114fe078f7c37702a887469609fe467ee3d6dae
author: Paul Brossier <piem@piem.org>
date: Sat Nov 17 17:11:34 EST 2018

[test] mfcc.set_mel_coeffs_slaney takes no parameter

--- a/python/tests/test_mfcc.py
+++ b/python/tests/test_mfcc.py
@@ -140,7 +140,7 @@
     def test_set_mel_coeffs_slaney(self):
         buf_size, n_filters, n_coeffs, samplerate = 512, 40, 10, 16000
         m = mfcc(buf_size, n_filters, n_coeffs, samplerate)
-        m.set_mel_coeffs_slaney(samplerate)
+        m.set_mel_coeffs_slaney()
         m(cvec(buf_size))
         assert m.get_power() == 1
         assert m.get_scale() == 1