Ignore:
Timestamp:
Oct 2, 2009, 1:05:26 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:
d57c879
Parents:
47eabeb
Message:

src/mathutils.c: rename vec_mean to fvec_mean

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/onset/peakpick.c

    r47eabeb r8b28524  
    9494        /* calculate mean and median for onset_proc */
    9595        /* for (i=0;i<onset_proc->channels;i++) { */
    96         mean = vec_mean(onset_proc);
     96        mean = fvec_mean(onset_proc);
    9797        /* copy to scratch */
    9898        for (j = 0; j < length; j++)
     
    161161        t->win_pre   = 1;
    162162
    163         t->thresholdfn = (aubio_thresholdfn_t)(vec_median); /* (vec_mean); */
     163        t->thresholdfn = (aubio_thresholdfn_t)(vec_median); /* (fvec_mean); */
    164164        t->pickerfn = (aubio_pickerfn_t)(vec_peakpick);
    165165
Note: See TracChangeset for help on using the changeset viewer.