Changeset b235c0e for src/spectral
- Timestamp:
- Dec 11, 2013, 1:04:27 AM (11 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:
- c7ec2c6
- Parents:
- 3194dca1
- Location:
- src/spectral
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/fft.h
r3194dca1 rb235c0e 1 1 /* 2 Copyright (C) 2003-20 09Paul Brossier <piem@aubio.org>2 Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org> 3 3 4 4 This file is part of aubio. … … 27 27 */ 28 28 29 #ifndef FFT_H_30 #define FFT_H_29 #ifndef _AUBIO_FFT_H 30 #define _AUBIO_FFT_H 31 31 32 32 #ifdef __cplusplus … … 140 140 #endif 141 141 142 #endif / / FFT_H_142 #endif /* _AUBIO_FFT_H */ -
src/spectral/filterbank.h
r3194dca1 rb235c0e 1 1 /* 2 Copyright (C) 2007-20 09Paul Brossier <piem@aubio.org>2 Copyright (C) 2007-2013 Paul Brossier <piem@aubio.org> 3 3 and Amaury Hazan <ahazan@iua.upf.edu> 4 4 … … 30 30 */ 31 31 32 #ifndef FILTERBANK_H33 #define FILTERBANK_H32 #ifndef _AUBIO_FILTERBANK_H 33 #define _AUBIO_FILTERBANK_H 34 34 35 35 #ifdef __cplusplus … … 88 88 #endif 89 89 90 #endif // FILTERBANK_H90 #endif /* _AUBIO_FILTERBANK_H */ -
src/spectral/filterbank_mel.h
r3194dca1 rb235c0e 1 1 /* 2 Copyright (C) 2007-20 09Paul Brossier <piem@aubio.org>2 Copyright (C) 2007-2013 Paul Brossier <piem@aubio.org> 3 3 and Amaury Hazan <ahazan@iua.upf.edu> 4 4 … … 32 32 */ 33 33 34 #ifndef FILTERBANK_MEL_H35 #define FILTERBANK_MEL_H34 #ifndef _AUBIO_FILTERBANK_MEL_H 35 #define _AUBIO_FILTERBANK_MEL_H 36 36 37 37 #ifdef __cplusplus … … 70 70 #endif 71 71 72 #endif / / FILTERBANK_MEL_H72 #endif /* _AUBIO_FILTERBANK_MEL_H */ -
src/spectral/mfcc.h
r3194dca1 rb235c0e 1 1 /* 2 Copyright (C) 2007-20 09Paul Brossier <piem@aubio.org>2 Copyright (C) 2007-2013 Paul Brossier <piem@aubio.org> 3 3 and Amaury Hazan <ahazan@iua.upf.edu> 4 4 … … 28 28 */ 29 29 30 #ifndef MFCC_H31 #define MFCC_H30 #ifndef _AUBIO_MFCC_H 31 #define _AUBIO_MFCC_H 32 32 33 33 #ifdef __cplusplus … … 70 70 #endif 71 71 72 #endif // MFCC_H72 #endif /* _AUBIO_MFCC_H */ -
src/spectral/phasevoc.h
r3194dca1 rb235c0e 1 1 /* 2 Copyright (C) 2003-20 09Paul Brossier <piem@aubio.org>2 Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org> 3 3 4 4 This file is part of aubio. … … 32 32 */ 33 33 34 #ifndef _ PHASEVOC_H35 #define _ PHASEVOC_H34 #ifndef _AUBIO_PHASEVOC_H 35 #define _AUBIO_PHASEVOC_H 36 36 37 37 #ifdef __cplusplus … … 100 100 #endif 101 101 102 #endif 102 #endif /* _AUBIO_PHASEVOC_H */ -
src/spectral/specdesc.h
r3194dca1 rb235c0e 1 1 /* 2 Copyright (C) 2003-20 09Paul Brossier <piem@aubio.org>2 Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org> 3 3 4 4 This file is part of aubio. … … 20 20 21 21 /** \file 22 22 23 23 Spectral description functions 24 24 25 25 All of the following spectral description functions take as arguments the FFT 26 26 of a windowed signal (as created with aubio_pvoc). They output one smpl_t per 27 27 buffer (stored in a vector of size [1]). 28 28 29 29 \section specdesc Spectral description functions 30 30 … … 35 35 These functions are designed to raise at notes attacks in music signals. 36 36 37 \b \p energy : Energy based onset detection function 38 37 \b \p energy : Energy based onset detection function 38 39 39 This function calculates the local energy of the input spectral frame. 40 40 41 41 \b \p hfc : High Frequency Content onset detection function 42 42 43 43 This method computes the High Frequency Content (HFC) of the input spectral 44 44 frame. The resulting function is efficient at detecting percussive onsets. … … 47 47 Musical Signal. PhD dissertation, University of Bristol, UK, 1996. 48 48 49 \b \p complex : Complex Domain Method onset detection function 50 49 \b \p complex : Complex Domain Method onset detection function 50 51 51 Christopher Duxbury, Mike E. Davies, and Mark B. Sandler. Complex domain 52 52 onset detection for musical signals. In Proceedings of the Digital Audio 53 53 Effects Conference, DAFx-03, pages 90-93, London, UK, 2003. 54 54 55 \b \p phase : Phase Based Method onset detection function 55 \b \p phase : Phase Based Method onset detection function 56 56 57 57 Juan-Pablo Bello, Mike P. Davies, and Mark B. Sandler. Phase-based note onset … … 60 60 Hong-Kong, 2003. 61 61 62 \b \p specdiff : Spectral difference method onset detection function 62 \b \p specdiff : Spectral difference method onset detection function 63 63 64 64 Jonhatan Foote and Shingo Uchihashi. The beat spectrum: a new approach to … … 66 66 (ICME 2001), pages 881884, Tokyo, Japan, August 2001. 67 67 68 \b \p kl : Kullback-Liebler onset detection function 69 68 \b \p kl : Kullback-Liebler onset detection function 69 70 70 Stephen Hainsworth and Malcom Macleod. Onset detection in music audio 71 71 signals. In Proceedings of the International Computer Music Conference 72 72 (ICMC), Singapore, 2003. 73 73 74 \b \p mkl : Modified Kullback-Liebler onset detection function 74 \b \p mkl : Modified Kullback-Liebler onset detection function 75 75 76 76 Paul Brossier, ``Automatic annotation of musical audio for interactive … … 78 78 music, Queen Mary University of London, London, UK, 2006. 79 79 80 \b \p specflux : Spectral Flux 80 \b \p specflux : Spectral Flux 81 81 82 82 Simon Dixon, Onset Detection Revisited, in ``Proceedings of the 9th 83 83 International Conference on Digital Audio Effects'' (DAFx-06), Montreal, 84 Canada, 2006. 84 Canada, 2006. 85 85 86 86 \subsection shapedesc Spectral shape descriptors … … 93 93 href="http://www.ircam.fr/anasyn/peeters/ARTICLES/Peeters_2003_cuidadoaudiofeatures.pdf">pdf</a>) 94 94 95 \b \p centroid : Spectral centroid 95 \b \p centroid : Spectral centroid 96 96 97 97 The spectral centroid represents the barycenter of the spectrum. 98 98 99 99 \e Note: This function returns the result in bin. To get the spectral 100 centroid in Hz, aubio_bintofreq() should be used. 100 centroid in Hz, aubio_bintofreq() should be used. 101 101 102 \b \p spread : Spectral spread 102 \b \p spread : Spectral spread 103 103 104 104 The spectral spread is the variance of the spectral distribution around its … … 126 126 Wikipedia. 127 127 128 \b \p slope : Spectral slope 128 \b \p slope : Spectral slope 129 129 130 130 The spectral slope represents decreasing rate of the spectral amplitude, … … 133 133 \b \p decrease : Spectral decrease 134 134 135 The spectral decrease is another representation of the decreasing rate, 135 The spectral decrease is another representation of the decreasing rate, 136 136 based on perceptual criteria. 137 137 … … 146 146 147 147 148 #ifndef ONSETDETECTION_H149 #define ONSETDETECTION_H148 #ifndef _AUBIO_SPECDESC_H 149 #define _AUBIO_SPECDESC_H 150 150 151 151 #ifdef __cplusplus … … 156 156 typedef struct _aubio_specdesc_t aubio_specdesc_t; 157 157 158 /** execute spectral description function on a spectral frame 158 /** execute spectral description function on a spectral frame 159 159 160 160 Generic function to compute spectral detescription. 161 161 162 162 \param o spectral description object as returned by new_aubio_specdesc() 163 163 \param fftgrain input signal spectrum as computed by aubio_pvoc_do … … 168 168 fvec_t * desc); 169 169 170 /** creation of a spectral description object 170 /** creation of a spectral description object 171 171 172 172 \param method spectral description method … … 181 181 aubio_specdesc_t *new_aubio_specdesc (char_t * method, uint_t buf_size); 182 182 183 /** deletion of a spectral descriptor 183 /** deletion of a spectral descriptor 184 184 185 185 \param o spectral descriptor object as returned by new_aubio_specdesc() … … 192 192 #endif 193 193 194 #endif /* ONSETDETECTION_H */194 #endif /* _AUBIO_SPECDESC_H */ -
src/spectral/tss.h
r3194dca1 rb235c0e 1 1 /* 2 Copyright (C) 2003-20 09Paul Brossier <piem@aubio.org>2 Copyright (C) 2003-2013 Paul Brossier <piem@aubio.org> 3 3 4 4 This file is part of aubio. … … 37 37 */ 38 38 39 #ifndef TSS_H40 #define TSS_H39 #ifndef _AUBIO_TSS_H 40 #define _AUBIO_TSS_H 41 41 42 42 #ifdef __cplusplus … … 101 101 #endif 102 102 103 #endif /* TSS_H*/103 #endif /* _AUBIO_TSS_H */
Note: See TracChangeset
for help on using the changeset viewer.