Changeset a72f3f1


Ignore:
Timestamp:
Oct 7, 2009, 11:24:54 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:
9a12264
Parents:
316092e
Message:

src/onset/onset.c: rename aubio_onset to aubio_onset_do

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.c

    r316092e ra72f3f1  
    4141
    4242/* execute onset detection function on iput buffer */
    43 void aubio_onset(aubio_onset_t *o, fvec_t * input, fvec_t * onset)
     43void aubio_onset_do (aubio_onset_t *o, fvec_t * input, fvec_t * onset)
    4444{
    4545  uint_t isonset = 0;
  • src/onset/onset.h

    r316092e ra72f3f1  
    2525  in these functions. When onsets are found above a given silence threshold,
    2626  and after a minimum inter-onset interval, the output vector returned by
    27   aubio_onset is filled with 1. Otherwise, the output vector remains 0.
     27  aubio_onset_do is filled with 1. Otherwise, the output vector remains 0.
    2828
    2929  The peak-picking threshold, the silence threshold, and the minimum
    30   inter-onset interval can be adjusted during the execution of the aubio_onset
    31   routine using the corresponding functions.
     30  inter-onset interval can be adjusted during the execution of the
     31  aubio_onset_do routine using the corresponding functions.
    3232
    3333*/
     
    6262
    6363*/
    64 void aubio_onset(aubio_onset_t *o, fvec_t * input, fvec_t * onset);
     64void aubio_onset_do (aubio_onset_t *o, fvec_t * input, fvec_t * onset);
    6565
    6666/** set onset detection silence threshold
  • tests/src/test-onset.c

    r316092e ra72f3f1  
    1111
    1212        while (i < 10) {
    13           aubio_onset(onset,in,out);
     13          aubio_onset_do (onset,in,out);
    1414          i++;
    1515        };
Note: See TracChangeset for help on using the changeset viewer.