Changeset c73268a


Ignore:
Timestamp:
Aug 9, 2005, 2:21:08 AM (19 years ago)
Author:
Paul Brossier <piem@altern.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:
c0063da
Parents:
8d84c0b
Message:

fix isonset declaration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/peakpick.c

    r8d84c0b rc73268a  
    122122        smpl_t mean = 0., median = 0.;
    123123        uint_t length = p->win_post + p->win_pre + 1;
    124         uint_t i = 0, j;
     124        uint_t i = 0, j, isonset = 0;
    125125
    126126        /* store onset in onset_keep */
     
    156156                onset_proc->data[i][p->win_post] - median - mean * p->threshold;
    157157       
    158         uint_t isonset = (p->pickerfn)(onset_peek,1);
     158        isonset = (p->pickerfn)(onset_peek,1);
    159159
    160160        //if ( isonset && peakval != NULL )
Note: See TracChangeset for help on using the changeset viewer.