Changeset 7c6c806d for src/filterbank.h


Ignore:
Timestamp:
Sep 6, 2007, 7:32:13 PM (17 years ago)
Author:
Amaury Hazan <mahmoudax@gmail.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:
7a46bf6, fdf39ba
Parents:
71b1b4b
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/filterbank.h

    r71b1b4b r7c6c806d  
    2323#define AUBIOFILTERBANK_H
    2424
     25#ifdef __cplusplus
     26extern "C" {
     27#endif
    2528
    26 // Struct Declaration
    2729
    28 /** \brief A structure to store a set of n_filters Mel filters */
    29 typedef struct aubio_mel_filter_ {
    30     int n_filters;
    31     smpl_t **filters;
    32 } aubio_mel_filter;
     30
     31typedef struct aubio_mel_filter_ aubio_mel_filter;
    3332
    3433// Initialization
     
    3837 * It is up to the caller to pass in a pointer to memory allocated for freq_bands arrays of length N. This function populates these arrays with magnitude coefficients representing the mel filterbank on a linear scale
    3938 */
    40 int aubio_mfcc_init(int N, float nyquist, int style, float freq_min, float freq_max, int freq_bands, smpl_t ** fft_tables);
     39int aubio_mfcc_init(int N, smpl_t nyquist, int style, smpl_t freq_min, smpl_t freq_max, int freq_bands, smpl_t ** fft_tables);
     40
     41#ifdef __cplusplus
     42}
     43#endif
    4144
    4245#endif
Note: See TracChangeset for help on using the changeset viewer.