shithub: aubio

Download patch

ref: ce24ae0f904c694173c92e9fb0594682df2277ec
parent: 522411306c0c727d138be90e8c798af80ca439de
author: Paul Brossier <piem@piem.org>
date: Thu Jul 3 15:39:12 EDT 2014

python/demos/demo_mfcc.py: use n_coeffs

--- a/python/demos/demo_mfcc.py
+++ b/python/demos/demo_mfcc.py
@@ -24,7 +24,7 @@
 p = pvoc(win_s, hop_s)
 m = mfcc(win_s, n_filters, n_coeffs, samplerate)
 
-mfccs = zeros([13,])
+mfccs = zeros([n_coeffs,])
 frames_read = 0
 while True:
     samples, read = s()
--