From: Paul Brossier Date: Mon, 26 Nov 2018 11:00:38 +0000 (+0100) Subject: [tests] run phase vocoder with hop_s = win_s X-Git-Tag: 0.4.9~159 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=6091189eeba375ba00b5a88fd381f8b9b1c05cb8;p=aubio.git [tests] run phase vocoder with hop_s = win_s --- 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),