Changeset 7778f39 for tests


Ignore:
Timestamp:
Oct 16, 2009, 9:57:29 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:
41bf913
Parents:
e4f142c
Message:

tests/src/: update to use samplerate

Location:
tests/src
Files:
2 edited

Legend:

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

    re4f142c r7778f39  
    77        fvec_t * in       = new_fvec (win_s/4, channels); /* input buffer */
    88        fvec_t * out      = new_fvec (2, channels);     /* input buffer */
    9         aubio_onset_t * onset  = new_aubio_onset("complex", win_s, win_s/4, channels);
     9        aubio_onset_t * onset  = new_aubio_onset("complex", win_s, win_s/4, channels, 44100.);
    1010        uint_t i = 0;
    1111
  • tests/src/test-tempo.c

    re4f142c r7778f39  
    88        fvec_t * in       = new_fvec (win_s, channels); /* input buffer */
    99        fvec_t * out      = new_fvec (2, channels);     /* input buffer */
    10         aubio_tempo_t * o  = new_aubio_tempo("complex", win_s, win_s/4, channels);
     10        aubio_tempo_t * o  = new_aubio_tempo("complex", win_s, win_s/4, channels, 44100.);
    1111        uint_t i = 0;
    1212
Note: See TracChangeset for help on using the changeset viewer.