Changeset 59c046d for src/spectral


Ignore:
Timestamp:
Oct 19, 2009, 1:52:04 PM (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:
b01bd4a
Parents:
b14107f
Message:

src/spectral/filter.c, src/temporal/filterbank_mel.c: move samplerate to the end

Location:
src/spectral
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/filterbank_mel.c

    rb14107f r59c046d  
    2828uint_t
    2929aubio_filterbank_set_triangle_bands (aubio_filterbank_t * fb,
    30     smpl_t samplerate, fvec_t * freqs)
     30    fvec_t * freqs, smpl_t samplerate)
    3131{
    3232
     
    191191
    192192  /* now compute the actual coefficients */
    193   retval = aubio_filterbank_set_triangle_bands (fb, samplerate, freqs);
     193  retval = aubio_filterbank_set_triangle_bands (fb, freqs, samplerate);
    194194
    195195  /* destroy vector used to store frequency limits */
  • src/spectral/filterbank_mel.h

    rb14107f r59c046d  
    5151*/
    5252uint_t aubio_filterbank_set_triangle_bands (aubio_filterbank_t * fb,
    53     smpl_t samplerate, fvec_t * freqs);
     53    fvec_t * freqs, smpl_t samplerate);
    5454
    5555/** filterbank initialization for Mel filters using Slaney's coefficients
Note: See TracChangeset for help on using the changeset viewer.