From: Paul Brossier <piem@piem.org> Date: Sat, 23 Mar 2013 00:41:03 +0000 (-0500) Subject: tests/src/synth/test-sampler.c: shorter frames, repeat three times X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f174a22e8ab3594f918b4a8e5112b8f2148d1aae;p=aubio.git tests/src/synth/test-sampler.c: shorter frames, repeat three times --- diff --git a/tests/src/synth/test-sampler.c b/tests/src/synth/test-sampler.c index cfb9d1fa..0f3bfa7d 100644 --- a/tests/src/synth/test-sampler.c +++ b/tests/src/synth/test-sampler.c @@ -13,7 +13,7 @@ int main (int argc, char **argv) } uint_t samplerate = 0; // default is the samplerate of input_path - uint_t hop_size = 512; + uint_t hop_size = 256; uint_t n_frames = 0, read = 0; char_t *source_path = argv[1]; @@ -35,7 +35,10 @@ int main (int argc, char **argv) if (n_frames / hop_size == 10) { aubio_sampler_play ( sampler ); } - if (n_frames / hop_size == 20) { + if (n_frames / hop_size == 40) { + aubio_sampler_play ( sampler ); + } + if (n_frames / hop_size == 70) { aubio_sampler_play ( sampler ); } if (n_frames > 10.0 * samplerate) {