- Timestamp:
- Sep 2, 2015, 11:22:24 AM (9 years ago)
- 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:
- 0683ee2
- Parents:
- f549b98d
- Location:
- src/temporal
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/temporal/a_weighting.h
rf549b98d r4598946 1 1 /* 2 Copyright (C) 2003-201 3Paul Brossier <piem@aubio.org>2 Copyright (C) 2003-2015 Paul Brossier <piem@aubio.org> 3 3 4 4 This file is part of aubio. … … 25 25 26 26 A-weighting filter coefficients 27 27 28 28 This file creates an A-weighting digital filter, which reduces low and high 29 29 frequencies and enhance the middle ones to reflect the ability of the human 30 30 hearing. 31 31 32 32 The implementation is based on the following standard: 33 33 34 34 - IEC/CD 1672: Electroacoustics-Sound Level Meters, IEC, Geneva, Nov. 1996, 35 35 for A- and C-weighting filters. 36 36 37 37 See also: 38 38 39 39 - <a href="http://en.wikipedia.org/wiki/A-weighting">A-Weighting on 40 40 Wikipedia</a> … … 43 43 - <a href="http://www.mathworks.com/matlabcentral/fileexchange/69">Christophe 44 44 Couvreur's 'octave' toolbox</a> 45 45 46 46 The coefficients in this file have been computed using Christophe Couvreur's 47 47 scripts in octave 3.0 (debian package 1:3.0.5-6+b2 with octave-signal … … 63 63 /** create new A-design filter 64 64 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 66 66 8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and 67 67 192000 Hz … … 75 75 76 76 \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 78 78 8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and 79 79 192000 Hz -
src/temporal/biquad.h
rf549b98d r4598946 1 1 /* 2 Copyright (C) 2003-201 3Paul Brossier <piem@aubio.org>2 Copyright (C) 2003-2015 Paul Brossier <piem@aubio.org> 3 3 4 4 This file is part of aubio. … … 22 22 #define _AUBIO_FILTER_BIQUAD_H 23 23 24 /** \file 24 /** \file 25 25 26 26 Second order Infinite Impulse Response filter 27 27 28 28 This file implements a normalised biquad filter (second order IIR): 29 29 30 30 \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$ 31 31 -
src/temporal/c_weighting.h
rf549b98d r4598946 1 1 /* 2 Copyright (C) 2003-201 3Paul Brossier <piem@aubio.org>2 Copyright (C) 2003-2015 Paul Brossier <piem@aubio.org> 3 3 4 4 This file is part of aubio. … … 25 25 26 26 C-weighting filter coefficients 27 27 28 28 This file creates a C-weighting digital filter, which reduces low and high 29 29 frequencies and enhance the middle ones to reflect the ability of the human 30 30 hearing. 31 31 32 32 The implementation is based on the following standard: 33 33 34 34 - IEC/CD 1672: Electroacoustics-Sound Level Meters, IEC, Geneva, Nov. 1996, 35 35 for A- and C-weighting filters. 36 36 37 37 See also: 38 38 39 39 - <a href="http://en.wikipedia.org/wiki/A-weighting">A-Weighting on 40 40 Wikipedia</a> … … 43 43 - <a href="http://www.mathworks.com/matlabcentral/fileexchange/69">Christophe 44 44 Couvreur's 'octave' toolbox</a> 45 45 46 46 The coefficients in this file have been computed using Christophe Couvreur's 47 47 scripts in octave 3.0 (debian package 1:3.0.5-6+b2 with octave-signal … … 63 63 /** create new C-design filter 64 64 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 66 66 8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and 67 67 192000 Hz … … 75 75 76 76 \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 78 78 8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, and 79 79 192000 Hz -
src/temporal/filter.h
rf549b98d r4598946 1 1 /* 2 Copyright (C) 2003-201 3Paul Brossier <piem@aubio.org>2 Copyright (C) 2003-2015 Paul Brossier <piem@aubio.org> 3 3 4 4 This file is part of aubio. … … 22 22 #define _AUBIO_FILTER_H 23 23 24 /** \file 24 /** \file 25 25 26 26 Digital filter … … 28 28 This object stores a digital filter of order \f$n\f$. 29 29 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 32 32 - \f$ n*c x_i \f$ input signal 33 33 - \f$ n*c y_i \f$ output signal … … 41 41 The function aubio_filter_do_outplace() computes the following output signal 42 42 \f$ y[n] \f$ from the input signal \f$ x[n] \f$: 43 43 44 44 \f{eqnarray*}{ 45 45 y[n] = b_0 x[n] & + & b_1 x[n-1] + b_2 x[n-2] + ... + b_P x[n-P] \\ … … 54 54 operation. 55 55 56 Some convenience functions are provided: 56 Some convenience functions are provided: 57 57 - new_aubio_filter_a_weighting() and aubio_filter_set_a_weighting(), 58 58 - new_aubio_filter_c_weighting() and aubio_filter_set_c_weighting(). … … 60 60 61 61 \example temporal/test-filter.c 62 62 63 63 */ 64 64 … … 164 164 165 165 /** delete a filter object 166 166 167 167 \param f filter object to delete 168 168 -
src/temporal/resampler.h
rf549b98d r4598946 1 1 /* 2 Copyright (C) 2003-201 3Paul Brossier <piem@aubio.org>2 Copyright (C) 2003-2015 Paul Brossier <piem@aubio.org> 3 3 4 4 This file is part of aubio. … … 23 23 24 24 /** \file 25 25 26 26 Resampling object 27 27 28 28 This object resamples an input vector into an output vector using 29 29 libsamplerate. See http://www.mega-nerd.com/SRC/ 30 30 31 31 */ 32 32 … … 38 38 typedef struct _aubio_resampler_t aubio_resampler_t; 39 39 40 /** create resampler object 40 /** create resampler object 41 41 42 \param ratio output_sample_rate / input_sample_rate 42 \param ratio output_sample_rate / input_sample_rate 43 43 \param type libsamplerate resampling type, see http://www.mega-nerd.com/SRC/api_misc.html#Converters 44 44
Note: See TracChangeset
for help on using the changeset viewer.