Changeset 22d33e2 for tests/src


Ignore:
Timestamp:
Oct 8, 2009, 8:49:10 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:
7a6cbbe
Parents:
2ba3440
Message:

src/pitch/pitchyinfft.{c,h}: add get/set for tolerance, clean and update prototypes, make multichannel

File:
1 edited

Legend:

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

    r2ba3440 r22d33e2  
    66        uint_t channels   = 1;                          /* number of channel */
    77        fvec_t * in       = new_fvec (win_s, channels); /* input buffer */
     8        fvec_t * out      = new_fvec (1, channels); /* output pitch periods */
    89        aubio_pitchyinfft_t * o  = new_aubio_pitchyinfft(win_s);
     10        aubio_pitchyinfft_set_tolerance (o, 0.2);
    911        uint_t i = 0;
    1012
    1113        while (i < 10) {
    12           aubio_pitchyinfft_do (o,in,0.2);
     14          aubio_pitchyinfft_do (o,in,out);
    1315          i++;
    1416        };
Note: See TracChangeset for help on using the changeset viewer.