Changeset 01b8fcc for src


Ignore:
Timestamp:
Oct 7, 2009, 10:58:25 PM (15 years ago)
Author:
Paul Brossier <piem@piem.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:
0ce97483
Parents:
cb158ab
Message:

src/onset: rename aubio_onsetdetection to aubio_onsetdetection_do

Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.c

    rcb158ab r01b8fcc  
    4646  uint_t wasonset = o->wasonset;
    4747  aubio_pvoc_do (o->pv,input, o->fftgrain);
    48   aubio_onsetdetection(o->od,o->fftgrain, o->of);
     48  aubio_onsetdetection_do (o->od,o->fftgrain, o->of);
    4949  /*if (usedoubled) {
    50     aubio_onsetdetection(o2,fftgrain, onset2);
     50    aubio_onsetdetection_do (o2,fftgrain, onset2);
    5151    onset->data[0][0] *= onset2->data[0][0];
    5252  }*/
  • src/onset/onsetdetection.c

    rcb158ab r01b8fcc  
    296296/* Generic function pointing to the choosen one */
    297297void
    298 aubio_onsetdetection(aubio_onsetdetection_t *o, cvec_t * fftgrain,
     298aubio_onsetdetection_do (aubio_onsetdetection_t *o, cvec_t * fftgrain,
    299299    fvec_t * onset) {
    300300  o->funcpointer(o,fftgrain,onset);
  • src/onset/onsetdetection.h

    rcb158ab r01b8fcc  
    6262
    6363*/
    64 void aubio_onsetdetection(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
     64void aubio_onsetdetection_do (aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset);
    6565/** creation of an onset detection object
    6666
  • src/tempo/tempo.c

    rcb158ab r01b8fcc  
    5252  uint_t step   = o->step;
    5353  aubio_pvoc_do (o->pv, input, o->fftgrain);
    54   aubio_onsetdetection(o->od, o->fftgrain, o->of);
     54  aubio_onsetdetection_do (o->od, o->fftgrain, o->of);
    5555  /*if (usedoubled) {
    56     aubio_onsetdetection(o2,fftgrain, onset2);
     56    aubio_onsetdetection_do(o2,fftgrain, onset2);
    5757    onset->data[0][0] *= onset2->data[0][0];
    5858  }*/
Note: See TracChangeset for help on using the changeset viewer.