Changeset e03f74d


Ignore:
Timestamp:
Sep 17, 2009, 8:04:00 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:
0028ea7
Parents:
7a84b21
Message:

src/spectral/mfcc.h: remove obsolete reference to libxtract, update copyright and license to GPLv3, indent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/mfcc.h

    r7a84b21 re03f74d  
    11/*
    2    Copyright (C) 2007 Amaury Hazan <ahazan@iua.upf.edu>
    3                   and Paul Brossier <piem@piem.org>
     2   Copyright (C) 2007-2009 Paul Brossier <piem@aubio.org>
     3                       and Amaury Hazan <ahazan@iua.upf.edu>
    44
    5    This program is free software; you can redistribute it and/or modify
     5   This file is part of Aubio.
     6
     7   Aubio is free software: you can redistribute it and/or modify
    68   it under the terms of the GNU General Public License as published by
    7    the Free Software Foundation; either version 2 of the License, or
     9   the Free Software Foundation, either version 3 of the License, or
    810   (at your option) any later version.
    911
    10    This program is distributed in the hope that it will be useful,
     12   Aubio is distributed in the hope that it will be useful,
    1113   but WITHOUT ANY WARRANTY; without even the implied warranty of
    1214   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    1416
    1517   You should have received a copy of the GNU General Public License
    16    along with this program; if not, write to the Free Software
    17    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     18   along with Aubio.  If not, see <http://www.gnu.org/licenses/>.
    1819
    1920*/
    2021
    21 /* part of this mfcc implementation were inspired from LibXtract
    22    http://libxtract.sourceforge.net/
    23 */
    24 
    25 #ifndef MFCC_H
    26 #define MFCC_H
     22#ifndef MFCC_H
     23#define MFCC_H
    2724
    2825#ifdef __cplusplus
    29 extern "C" {
     26extern "C"
     27{
    3028#endif
    3129
     
    3533
    3634  \param win_s size of analysis buffer (and length the FFT transform)
    37   \param samplerate
    38   \param n_coefs: number of desired coefs
     35  \param samplerate audio sampling rate
     36  \param n_coefs number of desired coefficientss
    3937
    4038*/
    41 aubio_mfcc_t * new_aubio_mfcc (uint_t win_s, uint_t samplerate, uint_t n_filters, uint_t n_coefs);
     39aubio_mfcc_t *new_aubio_mfcc (uint_t win_s, uint_t samplerate,
     40      uint_t n_filters, uint_t n_coefs);
     41
    4242/** delete mfcc object
    4343
     
    4545
    4646*/
    47 void del_aubio_mfcc(aubio_mfcc_t *mf);
     47void del_aubio_mfcc (aubio_mfcc_t * mf);
     48
    4849/** mfcc object processing
    4950
    5051  \param mf mfcc object as returned by new_aubio_mfcc
    5152  \param in input spectrum (win_s long)
    52   \param out output mel coefficients buffer (n_filters/2 +1 long)
     53  \param out output mel coefficients buffer (n_coeffs long)
    5354
    5455*/
    55 void aubio_mfcc_do(aubio_mfcc_t * mf, cvec_t *in, fvec_t *out);
     56void aubio_mfcc_do (aubio_mfcc_t * mf, cvec_t * in, fvec_t * out);
    5657
    5758#ifdef __cplusplus
     
    5960#endif
    6061
    61 #endif // MFCC_H
     62#endif                          // MFCC_H
Note: See TracChangeset for help on using the changeset viewer.