From f174a22e8ab3594f918b4a8e5112b8f2148d1aae Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 22 Mar 2013 19:41:03 -0500 Subject: [PATCH] tests/src/synth/test-sampler.c: shorter frames, repeat three times --- tests/src/synth/test-sampler.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) { -- 2.26.2