Changeset 7a6cbbe for tests


Ignore:
Timestamp:
Oct 8, 2009, 8:51:06 PM (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:
05773a2c
Parents:
22d33e2
Message:

src/pitch/pitchdetection.{c,h}: clean and update prototypes, sync with latest pitch objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/test-pitchdetection.c

    r22d33e2 r7a6cbbe  
    1010        aubio_pitchdetection_type type = aubio_pitch_yinfft;
    1111        fvec_t * in       = new_fvec (hop_s, channels); /* input buffer */
     12        fvec_t * out       = new_fvec (1, channels); /* input buffer */
    1213        aubio_pitchdetection_t * o  = new_aubio_pitchdetection(
    1314          win_s, hop_s, channels, samplerate, type, mode
     
    1516        uint_t i = 0;
    1617
    17         while (i < 1000) {
    18           aubio_pitchdetection_do (o,in);
     18        while (i < 100) {
     19          aubio_pitchdetection_do (o,in, out);
    1920          i++;
    2021        };
Note: See TracChangeset for help on using the changeset viewer.