Changeset 1d51820 for src/spectral


Ignore:
Timestamp:
Nov 17, 2018, 11:40:32 AM (6 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
Children:
0e30a12
Parents:
04cd251
Message:

[filterbank] fix mel htk mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/filterbank_mel.c

    r04cd251 r1d51820  
    286286  for (m = 0; m < n_bands + 2; m++)
    287287  {
    288     freqs->data[m] = MIN(aubio_meltohz_htk(step * m), samplerate/2.);
     288    freqs->data[m] = MIN(aubio_meltohz_htk(start + step * m), samplerate/2.);
    289289  }
    290290
Note: See TracChangeset for help on using the changeset viewer.