Changeset 2ba3440 for tests/src


Ignore:
Timestamp:
Oct 8, 2009, 8:24:43 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:
22d33e2
Parents:
f162cf9
Message:

src/pitch/pitchyin.{c,h}: add proper aubio_pitchyin_t object, clean and update prototypes, make multichannel

File:
1 edited

Legend:

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

    rf162cf9 r2ba3440  
    77        fvec_t * in       = new_fvec (win_s, channels); /* input buffer */
    88        fvec_t * out      = new_fvec (win_s/2, channels); /* input buffer */
     9        aubio_pitchyin_t *p = new_aubio_pitchyin (win_s);
    910        uint_t i = 0;
    1011
    1112        while (i < 10) {
    12           aubio_pitchyin_diff   (in,out);
    13           aubio_pitchyin_getcum (out);
    14           aubio_pitchyin_getpitch (out);
    15           aubio_pitchyin_getpitchfast (in,out,0.2);
     13          aubio_pitchyin_do (p, in,out);
    1614          i++;
    1715        };
Note: See TracChangeset for help on using the changeset viewer.