Changeset 4598946


Ignore:
Timestamp:
Sep 2, 2015, 11:22:24 AM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
0683ee2
Parents:
f549b98d
Message:

src/temporal/*.h: remove trailing spaces, update copyrights

Location:
src/temporal
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/temporal/a_weighting.h

    rf549b98d r4598946  
    11/*
    2   Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org>
     2  Copyright (C) 2003-2015 Paul Brossier <piem@aubio.org>
    33
    44  This file is part of aubio.
     
    2525
    2626  A-weighting filter coefficients
    27  
     27
    2828  This file creates an A-weighting digital filter, which reduces low and high
    2929  frequencies and enhance the middle ones to reflect the ability of the human
    3030  hearing.
    31  
     31
    3232  The implementation is based on the following standard:
    3333
    3434    - IEC/CD 1672: Electroacoustics-Sound Level Meters, IEC, Geneva, Nov.  1996,
    3535  for A- and C-weighting filters.
    36  
     36
    3737  See also:
    38  
     38
    3939    - <a href="http://en.wikipedia.org/wiki/A-weighting">A-Weighting on
    4040  Wikipedia</a>
     
    4343    - <a href="http://www.mathworks.com/matlabcentral/fileexchange/69">Christophe
    4444  Couvreur's 'octave' toolbox</a>
    45  
     45
    4646  The coefficients in this file have been computed using Christophe Couvreur's
    4747  scripts in octave 3.0 (debian package 1:3.0.5-6+b2 with octave-signal
     
    6363/** create new A-design filter
    6464
    65   \param samplerate sampling frequency of the signal to filter. Should be one of 
     65  \param samplerate sampling frequency of the signal to filter. Should be one of
    6666  8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and
    6767  192000 Hz
     
    7575
    7676  \param f filter object to get coefficients from
    77   \param samplerate sampling frequency of the signal to filter. Should be one of 
     77  \param samplerate sampling frequency of the signal to filter. Should be one of
    7878  8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and
    7979  192000 Hz
  • src/temporal/biquad.h

    rf549b98d r4598946  
    11/*
    2   Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org>
     2  Copyright (C) 2003-2015 Paul Brossier <piem@aubio.org>
    33
    44  This file is part of aubio.
     
    2222#define _AUBIO_FILTER_BIQUAD_H
    2323
    24 /** \file 
     24/** \file
    2525
    2626  Second order Infinite Impulse Response filter
    2727
    2828  This file implements a normalised biquad filter (second order IIR):
    29  
     29
    3030  \f$ y[n] = b_0 x[n] + b_1 x[n-1] + b_2 x[n-2] - a_1 y[n-1] - a_2 y[n-2] \f$
    3131
  • src/temporal/c_weighting.h

    rf549b98d r4598946  
    11/*
    2   Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org>
     2  Copyright (C) 2003-2015 Paul Brossier <piem@aubio.org>
    33
    44  This file is part of aubio.
     
    2525
    2626  C-weighting filter coefficients
    27  
     27
    2828  This file creates a C-weighting digital filter, which reduces low and high
    2929  frequencies and enhance the middle ones to reflect the ability of the human
    3030  hearing.
    31  
     31
    3232  The implementation is based on the following standard:
    3333
    3434    - IEC/CD 1672: Electroacoustics-Sound Level Meters, IEC, Geneva, Nov.  1996,
    3535  for A- and C-weighting filters.
    36  
     36
    3737  See also:
    38  
     38
    3939    - <a href="http://en.wikipedia.org/wiki/A-weighting">A-Weighting on
    4040  Wikipedia</a>
     
    4343    - <a href="http://www.mathworks.com/matlabcentral/fileexchange/69">Christophe
    4444  Couvreur's 'octave' toolbox</a>
    45  
     45
    4646  The coefficients in this file have been computed using Christophe Couvreur's
    4747  scripts in octave 3.0 (debian package 1:3.0.5-6+b2 with octave-signal
     
    6363/** create new C-design filter
    6464
    65   \param samplerate sampling frequency of the signal to filter. Should be one of 
     65  \param samplerate sampling frequency of the signal to filter. Should be one of
    6666  8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and
    6767  192000 Hz
     
    7575
    7676  \param f filter object to get coefficients from
    77   \param samplerate sampling frequency of the signal to filter. Should be one of 
     77  \param samplerate sampling frequency of the signal to filter. Should be one of
    7878  8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and
    7979  192000 Hz
  • src/temporal/filter.h

    rf549b98d r4598946  
    11/*
    2   Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org>
     2  Copyright (C) 2003-2015 Paul Brossier <piem@aubio.org>
    33
    44  This file is part of aubio.
     
    2222#define _AUBIO_FILTER_H
    2323
    24 /** \file 
     24/** \file
    2525
    2626  Digital filter
     
    2828  This object stores a digital filter of order \f$n\f$.
    2929  It contains the following data:
    30     - \f$ n*1 b_i \f$ feedforward coefficients 
    31     - \f$ n*1 a_i \f$ feedback coefficients 
     30    - \f$ n*1 b_i \f$ feedforward coefficients
     31    - \f$ n*1 a_i \f$ feedback coefficients
    3232    - \f$ n*c x_i \f$ input signal
    3333    - \f$ n*c y_i \f$ output signal
     
    4141  The function aubio_filter_do_outplace() computes the following output signal
    4242  \f$ y[n] \f$ from the input signal \f$ x[n] \f$:
    43  
     43
    4444  \f{eqnarray*}{
    4545     y[n] = b_0 x[n] & + & b_1 x[n-1] + b_2 x[n-2] + ... + b_P x[n-P] \\
     
    5454  operation.
    5555
    56   Some convenience functions are provided: 
     56  Some convenience functions are provided:
    5757    - new_aubio_filter_a_weighting() and aubio_filter_set_a_weighting(),
    5858    - new_aubio_filter_c_weighting() and aubio_filter_set_c_weighting().
     
    6060
    6161  \example temporal/test-filter.c
    62  
     62
    6363*/
    6464
     
    164164
    165165/** delete a filter object
    166  
     166
    167167  \param f filter object to delete
    168168
  • src/temporal/resampler.h

    rf549b98d r4598946  
    11/*
    2   Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org>
     2  Copyright (C) 2003-2015 Paul Brossier <piem@aubio.org>
    33
    44  This file is part of aubio.
     
    2323
    2424/** \file
    25  
     25
    2626 Resampling object
    2727
    2828 This object resamples an input vector into an output vector using
    2929 libsamplerate. See http://www.mega-nerd.com/SRC/
    30  
     30
    3131*/
    3232
     
    3838typedef struct _aubio_resampler_t aubio_resampler_t;
    3939
    40 /** create resampler object 
     40/** create resampler object
    4141
    42   \param ratio output_sample_rate / input_sample_rate 
     42  \param ratio output_sample_rate / input_sample_rate
    4343  \param type libsamplerate resampling type, see http://www.mega-nerd.com/SRC/api_misc.html#Converters
    4444
Note: See TracChangeset for help on using the changeset viewer.