ref: 6091189eeba375ba00b5a88fd381f8b9b1c05cb8
parent: 099776df95e3dcf16da679d254d547c3d70f6a57
author: Paul Brossier <piem@piem.org>
date: Mon Nov 26 07:00:38 EST 2018
[tests] run phase vocoder with hop_s = win_s
--- a/python/tests/test_phasevoc.py
+++ b/python/tests/test_phasevoc.py
@@ -56,6 +56,15 @@
+ '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),