shithub: aubio

Download patch

ref: d0bdf0c4db5eabb3d0601ff01cf1989426368ca9
parent: 584714c7121b24c1a02cfd8f0e980d6d4cc84ed1
author: Paul Brossier <[email protected]>
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()