Ignore:
Timestamp:
Oct 5, 2007, 5:10:56 PM (17 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:
647a2d8, 6bec1ed
Parents:
203c551
Message:

beattracking.{c,h},tempo.{c,h}: add aubio_beattracking_get_confidence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/tests/test-tempo.c

    r203c551 re34b010  
    1010        uint_t i = 0;
    1111
    12         smpl_t curtempo;
     12        smpl_t curtempo, curtempoconf;
    1313
    1414        while (i < 1000) {
     
    1717          if (curtempo != 0.) {
    1818            fprintf(stdout,"%f\n",curtempo);
     19            return 1;
     20          }
     21          curtempoconf = aubio_beattracking_get_confidence(o);
     22          if (curtempoconf != 0.) {
     23            fprintf(stdout,"%f\n",curtempo);
     24            return 1;
    1925          }
    2026          i++;
Note: See TracChangeset for help on using the changeset viewer.