Changeset c218821 for src


Ignore:
Timestamp:
Sep 18, 2009, 12:57:31 AM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
adcf405
Parents:
0028ea7
Message:

src/spectral/mfcc.c: zero output before computing it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/mfcc.c

    r0028ea7 rc218821  
    9898{
    9999  uint_t i, j;
     100
    100101  /* compute filterbank */
    101102  aubio_filterbank_do (mf->fb, in, mf->in_dct);
    102103
    103   /* extract real part of fft grain */
     104  /* zeros output */
     105  fvec_zeros(out);
     106
     107  /* compute discrete cosine transform */
    104108  for (i = 0; i < mf->n_filters; i++) {
    105109    for (j = 0; j < mf->n_coefs; j++) {
Note: See TracChangeset for help on using the changeset viewer.