Changeset 1e2c82f for src/tempo


Ignore:
Timestamp:
Oct 2, 2009, 1:09:46 AM (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:
2f64b0e
Parents:
d57c879
Message:

rename vec_max and vec_max_elem to fvec_max fvec_max_elem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tempo/beattracking.c

    rd57c879 r1e2c82f  
    169169
    170170  /* find non-zero Rayleigh period */
    171   maxindex = vec_max_elem (bt->acfout);
     171  maxindex = fvec_max_elem (bt->acfout);
    172172  bt->rp = maxindex ? vec_quadint (bt->acfout, maxindex, 1) : 1;
    173173  //rp = (maxindex==127) ? 43 : maxindex; //rayparam
     
    196196
    197197  /* find Rayleigh period */
    198   maxindex = vec_max_elem (bt->phout);
     198  maxindex = fvec_max_elem (bt->phout);
    199199  if (maxindex >= winlen - 1) {
    200200#if AUBIO_BEAT_WARNINGS
     
    305305    }
    306306    fvec_weight (acfout, bt->gwv);
    307     gp = vec_quadint (acfout, vec_max_elem (acfout), 1);
     307    gp = vec_quadint (acfout, fvec_max_elem (acfout), 1);
    308308    /*
    309309       while(gp<32) gp =gp*2;
     
    419419{
    420420  if (bt->gp) {
    421     return vec_max (bt->acfout);
     421    return fvec_max (bt->acfout);
    422422  } else {
    423423    return 0.;
Note: See TracChangeset for help on using the changeset viewer.