Ignore:
Timestamp:
Sep 29, 2009, 8:08:10 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:
899dfd3
Parents:
6481c0c
Message:

src/temporal/filter.{c,h}: indent, update copyright and license

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/temporal/filter.h

    r6481c0c ra54502c  
    11/*
    2          Copyright (C) 2003 Paul Brossier
     2  Copyright (C) 2003-2009 Paul Brossier <piem@aubio.org>
    33
    4          This program is free software; you can redistribute it and/or modify
    5          it under the terms of the GNU General Public License as published by
    6          the Free Software Foundation; either version 2 of the License, or
    7          (at your option) any later version.
     4  This file is part of aubio.
    85
    9          This program is distributed in the hope that it will be useful,
    10          but WITHOUT ANY WARRANTY; without even the implied warranty of
    11          MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    12          GNU General Public License for more details.
     6  aubio is free software: you can redistribute it and/or modify
     7  it under the terms of the GNU General Public License as published by
     8  the Free Software Foundation, either version 3 of the License, or
     9  (at your option) any later version.
    1310
    14          You should have received a copy of the GNU General Public License
    15          along with this program; if not, write to the Free Software
    16          Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     11  aubio is distributed in the hope that it will be useful,
     12  but WITHOUT ANY WARRANTY; without even the implied warranty of
     13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14  GNU General Public License for more details.
     15
     16  You should have received a copy of the GNU General Public License
     17  along with aubio.  If not, see <http://www.gnu.org/licenses/>.
    1718
    1819*/
     
    7374
    7475*/
    75 void aubio_filter_do(aubio_filter_t * f, fvec_t * in);
     76void aubio_filter_do (aubio_filter_t * f, fvec_t * in);
    7677
    7778/** filter input vector (out-of-place)
     
    8283
    8384*/
    84 void aubio_filter_do_outplace(aubio_filter_t * f, fvec_t * in, fvec_t * out);
     85void aubio_filter_do_outplace (aubio_filter_t * f, fvec_t * in, fvec_t * out);
    8586
    8687/** filter input vector forward and backward
     
    9192
    9293*/
    93 void aubio_filter_do_filtfilt(aubio_filter_t * f, fvec_t * in, fvec_t * tmp);
     94void aubio_filter_do_filtfilt (aubio_filter_t * f, fvec_t * in, fvec_t * tmp);
    9495
    9596/** returns a pointer to feedback coefficients \f$ a_i \f$
     
    100101
    101102*/
    102 lvec_t * aubio_filter_get_feedback ( aubio_filter_t *f );
     103lvec_t *aubio_filter_get_feedback (aubio_filter_t * f);
    103104
    104105/** returns a pointer to feedforward coefficients \f$ b_i \f$
     
    109110
    110111*/
    111 lvec_t * aubio_filter_get_feedforward ( aubio_filter_t *f );
     112lvec_t *aubio_filter_get_feedforward (aubio_filter_t * f);
    112113
    113114/** get order of the filter
     
    118119
    119120*/
    120 uint_t aubio_filter_get_order ( aubio_filter_t *f );
     121uint_t aubio_filter_get_order (aubio_filter_t * f);
    121122
    122123/** get sampling rate of the filter
     
    127128
    128129*/
    129 uint_t aubio_filter_get_samplerate ( aubio_filter_t *f );
     130uint_t aubio_filter_get_samplerate (aubio_filter_t * f);
    130131
    131132/** create new filter object
     
    141142
    142143*/
    143 aubio_filter_t * new_aubio_filter(uint_t samplerate, uint_t order, uint_t channels);
     144aubio_filter_t *new_aubio_filter (uint_t samplerate, uint_t order,
     145    uint_t channels);
    144146
    145147/** delete a filter object
     
    148150
    149151*/
    150 void del_aubio_filter(aubio_filter_t * f);
     152void del_aubio_filter (aubio_filter_t * f);
    151153
    152154#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.