Changeset af4aeca


Ignore:
Timestamp:
Nov 5, 2009, 1:22:39 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:
1111de1
Parents:
0bbdbfd
Message:

src/onset/onset.c: add missing hop_size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.c

    r0bbdbfd raf4aeca  
    4040  fvec_t * wasonset;            /**< number of frames since last onset */
    4141  uint_t samplerate;            /**< sampling rate of the input signal */
     42  uint_t hop_size;              /**< number of samples between two runs */
    4243};
    4344
     
    106107  o->wasonset  = new_fvec(1, channels);
    107108  o->samplerate = samplerate;
     109  o->hop_size = hop_size;
    108110  o->pv = new_aubio_pvoc(buf_size, hop_size, channels);
    109111  o->pp = new_aubio_peakpicker(channels);
Note: See TracChangeset for help on using the changeset viewer.