From 6091189eeba375ba00b5a88fd381f8b9b1c05cb8 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 26 Nov 2018 12:00:38 +0100 Subject: [PATCH] [tests] run phase vocoder with hop_s = win_s --- python/tests/test_phasevoc.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/python/tests/test_phasevoc.py b/python/tests/test_phasevoc.py index 957d3b1a..6a7b8ad5 100755 --- a/python/tests/test_phasevoc.py +++ b/python/tests/test_phasevoc.py @@ -56,6 +56,15 @@ class aubio_pvoc_test_case(TestCase): + 'This is expected when using fftw3 on powerpc.') assert_equal ( r, 0.) + def test_no_overlap(self): + win_s, hop_s = 1024, 1024 + f = pvoc (win_s, hop_s) + t = fvec (hop_s) + for _ in range(4): + s = f(t) + r = f.rdo(s) + assert_equal ( t, 0.) + @params( ( 256, 8), ( 256, 4), -- 2.11.0