Changeset 33916b8 for src


Ignore:
Timestamp:
Oct 7, 2009, 7:55:08 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:
cfa0f12
Parents:
bd1a630
Message:

src/spectral/filterbank.{c,h}: add function to set coefficients

Location:
src/spectral
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/filterbank.c

    rbd1a630 r33916b8  
    8888  return f->filters;
    8989}
     90
     91uint_t
     92aubio_filterbank_set_coeffs (aubio_filterbank_t * f, fvec_t * filters)
     93{
     94  fvec_copy(filters, f->filters);
     95  return 0;
     96}
  • src/spectral/filterbank.h

    rbd1a630 r33916b8  
    7171fvec_t *aubio_filterbank_get_coeffs (aubio_filterbank_t * f);
    7272
     73/** copy filter coefficients to the filterbank
     74
     75  \param f filterbank object to get coefficients from
     76
     77 */
     78uint_t aubio_filterbank_set_coeffs (aubio_filterbank_t * f, fvec_t * filters);
     79
    7380#ifdef __cplusplus
    7481}
Note: See TracChangeset for help on using the changeset viewer.