shithub: aubio

Download patch

ref: ef8a1e4e6820bdf029a5482f53a5fd63eb4fa624
parent: 65a4fb4d95e51cf33ee9f90a5dfb20f5addd9f7c
author: Paul Brossier <piem@piem.org>
date: Wed Jan 30 22:20:57 EST 2019

[tests] fix input size in test-mfcc

--- a/tests/src/spectral/test-mfcc.c
+++ b/tests/src/spectral/test-mfcc.c
@@ -33,9 +33,9 @@
   aubio_pvoc_t *pv = 0;
   aubio_mfcc_t *mfcc = 0;
 
-  fvec_t *in = new_fvec (win_s); // input buffer
-  cvec_t *fftgrain = new_cvec (win_s); // input buffer
-  fvec_t *out = new_fvec (n_coeffs); // output coefficients
+  fvec_t *in = new_fvec (hop_s);       // phase vocoder input
+  cvec_t *fftgrain = new_cvec (win_s); // pvoc output / mfcc input
+  fvec_t *out = new_fvec (n_coeffs);   // mfcc output
 
   if (!in || !fftgrain || !out) { err = 1; goto failure; }