Ignore:
Timestamp:
Jun 14, 2005, 1:07:08 AM (19 years ago)
Author:
Paul Brossier <piem@altern.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:
1397c6e
Parents:
0ce9acc3
Message:

add Kullback Liebler onset detection function and its modified version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/onsetdetection.h

    r0ce9acc3 rb31f262  
    5454        hfc,            /**< high frequency content */
    5555        complexdomain,  /**< complex domain */       
    56         phase           /**< phase fast */           
     56        phase,          /**< phase fast */           
     57        kl,             /**< Kullback Liebler (Hainsworth et al.,  Onset detection in musical audio signals) */
     58        mkl             /**< modified Kullback Liebler (Hainsworth et al.,  Onset detection in musical audio signals) */
    5759} aubio_onsetdetection_type;
    5860
     
    99101 */
    100102void aubio_onsetdetection_specdiff(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
     103/** Kullback-Liebler onset detection function */
     104void aubio_onsetdetection_kl(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
     105/** Modified Kullback-Liebler onset detection function */
     106void aubio_onsetdetection_mkl(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
    101107/** Generic function pointing to the choosen one */
    102108void aubio_onsetdetection(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
Note: See TracChangeset for help on using the changeset viewer.