Changeset 1b88289 for src/onset/onsetdetection.c
- Timestamp:
- Oct 7, 2009, 6:28:53 PM (15 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:
- 1294862
- Parents:
- 10a5413
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/onsetdetection.c
r10a5413 r1b88289 26 26 #include "onset/onsetdetection.h" 27 27 28 /** Energy based onset detection function 29 30 This function calculates the local energy of the input spectral frame. 31 32 \param o onset detection object as returned by new_aubio_onsetdetection() 33 \param fftgrain input spectral frame 34 \param onset output onset detection function 35 36 */ 37 void aubio_onsetdetection_energy(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset); 38 /** High Frequency Content onset detection function 39 40 This method computes the High Frequency Content (HFC) of the input spectral 41 frame. The resulting function is efficient at detecting percussive onsets. 42 43 Paul Masri. Computer modeling of Sound for Transformation and Synthesis of 44 Musical Signal. PhD dissertation, University of Bristol, UK, 1996. 45 46 \param o onset detection object as returned by new_aubio_onsetdetection() 47 \param fftgrain input spectral frame 48 \param onset output onset detection function 49 50 */ 51 void aubio_onsetdetection_hfc(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset); 52 /** Complex Domain Method onset detection function 53 54 Christopher Duxbury, Mike E. Davies, and Mark B. Sandler. Complex domain 55 onset detection for musical signals. In Proceedings of the Digital Audio 56 Effects Conference, DAFx-03, pages 90-93, London, UK, 2003. 57 58 \param o onset detection object as returned by new_aubio_onsetdetection() 59 \param fftgrain input spectral frame 60 \param onset output onset detection function 61 62 */ 63 void aubio_onsetdetection_complex(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset); 64 /** Phase Based Method onset detection function 65 66 Juan-Pablo Bello, Mike P. Davies, and Mark B. Sandler. Phase-based note onset 67 detection for music signals. In Proceedings of the IEEE International 68 Conference on Acoustics Speech and Signal Processing, pages 441444, 69 Hong-Kong, 2003. 70 71 \param o onset detection object as returned by new_aubio_onsetdetection() 72 \param fftgrain input spectral frame 73 \param onset output onset detection function 74 75 */ 76 void aubio_onsetdetection_phase(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset); 77 /** Spectral difference method onset detection function 78 79 Jonhatan Foote and Shingo Uchihashi. The beat spectrum: a new approach to 80 rhythm analysis. In IEEE International Conference on Multimedia and Expo 81 (ICME 2001), pages 881884, Tokyo, Japan, August 2001. 82 83 \param o onset detection object as returned by new_aubio_onsetdetection() 84 \param fftgrain input spectral frame 85 \param onset output onset detection function 86 87 */ 88 void aubio_onsetdetection_specdiff(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset); 89 /** Kullback-Liebler onset detection function 90 91 Stephen Hainsworth and Malcom Macleod. Onset detection in music audio 92 signals. In Proceedings of the International Computer Music Conference 93 (ICMC), Singapore, 2003. 94 95 \param o onset detection object as returned by new_aubio_onsetdetection() 96 \param fftgrain input spectral frame 97 \param onset output onset detection function 98 99 */ 100 void aubio_onsetdetection_kl(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset); 101 /** Modified Kullback-Liebler onset detection function 102 103 Paul Brossier, ``Automatic annotation of musical audio for interactive 104 systems'', Chapter 2, Temporal segmentation, PhD thesis, Centre for Digital 105 music, Queen Mary University of London, London, UK, 2006. 106 107 \param o onset detection object as returned by new_aubio_onsetdetection() 108 \param fftgrain input spectral frame 109 \param onset output onset detection function 110 111 */ 112 void aubio_onsetdetection_mkl(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset); 113 /** Spectral Flux 114 115 Simon Dixon, Onset Detection Revisited, in ``Proceedings of the 9th 116 International Conference on Digital Audio Effects'' (DAFx-06), Montreal, 117 Canada, 2006. 118 119 \param o onset detection object as returned by new_aubio_onsetdetection() 120 \param fftgrain input spectral frame 121 \param onset output onset detection function 122 123 */ 124 void aubio_onsetdetection_specflux(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset); 28 125 29 126 /** structure to store object state */
Note: See TracChangeset
for help on using the changeset viewer.