Changeset 2dbcafa


Ignore:
Timestamp:
Nov 26, 2013, 4:26:39 AM (11 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:
923a7a8
Parents:
77db425
Message:

src/tempo/beattracking.c: normalise confidence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tempo/beattracking.c

    r77db425 r2dbcafa  
    429429{
    430430  if (bt->gp) {
    431     return fvec_max (bt->acfout);
     431    return fvec_max (bt->acfout) / fvec_sum(bt->acfout);
    432432  } else {
    433433    return 0.;
Note: See TracChangeset for help on using the changeset viewer.