Changeset 3f27a98 for src/tempo


Ignore:
Timestamp:
Dec 2, 2013, 6:07:05 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
c54b2c0
Parents:
ca45e58
Message:

src/tempo/beattracking.c: improve comments, remove old ones

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tempo/beattracking.c

    rca45e58 r3f27a98  
    301301
    302302  if (gp) {
    303     // doshiftfbank again only if context dependent model is in operation
    304     //acfout = doshiftfbank(acf,gwv,timesig,laglen,acfout);
    305     //don't need acfout now, so can reuse vector
    306     // gwv is, in first loop, definitely all zeros, but will have
    307     // proper values when context dependent model is activated
     303    // compute shift invariant comb filterbank
    308304    fvec_zeros (acfout);
    309305    for (i = 1; i < laglen - 1; i++) {
     
    314310      }
    315311    }
     312    // since gp is set, gwv has been computed in previous checkstate
    316313    fvec_weight (acfout, bt->gwv);
    317314    gp = fvec_quadratic_peak_pos (acfout, fvec_max_elem (acfout));
    318     /*
    319        while(gp<32) gp =gp*2;
    320        while(gp>64) gp = gp/2;
    321      */
    322315  } else {
    323316    //still only using general model
Note: See TracChangeset for help on using the changeset viewer.