From: Paul Brossier Date: Mon, 26 Nov 2018 17:53:43 +0000 (+0100) Subject: Merge branch 'master' into feature/pytest X-Git-Tag: 0.4.9~71^2~3 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=bbfa9a42e9ea4786c187774437f2553f34c019bb;p=aubio.git Merge branch 'master' into feature/pytest --- bbfa9a42e9ea4786c187774437f2553f34c019bb diff --cc python/tests/test_phasevoc.py index e17d1fda,6a7b8ad5..cf3b7ac8 --- a/python/tests/test_phasevoc.py +++ b/python/tests/test_phasevoc.py @@@ -55,8 -56,16 +55,17 @@@ class Test_aubio_pvoc_test_case(object) + '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( + resynth_noise_args = "hop_s, ratio" + resynth_noise_values = [ ( 256, 8), ( 256, 4), ( 256, 2),