Changeset f174a22 for tests


Ignore:
Timestamp:
Mar 23, 2013, 1:41:03 AM (12 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:
b8389de
Parents:
bd1fa89
Message:

tests/src/synth/test-sampler.c: shorter frames, repeat three times

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/synth/test-sampler.c

    rbd1fa89 rf174a22  
    1414
    1515  uint_t samplerate = 0; // default is the samplerate of input_path
    16   uint_t hop_size = 512;
     16  uint_t hop_size = 256;
    1717  uint_t n_frames = 0, read = 0;
    1818
     
    3636      aubio_sampler_play ( sampler );
    3737    }
    38     if (n_frames / hop_size == 20) {
     38    if (n_frames / hop_size == 40) {
     39      aubio_sampler_play ( sampler );
     40    }
     41    if (n_frames / hop_size == 70) {
    3942      aubio_sampler_play ( sampler );
    4043    }
Note: See TracChangeset for help on using the changeset viewer.