projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
099776d
)
[tests] run phase vocoder with hop_s = win_s
author
Paul Brossier
<piem@piem.org>
Mon, 26 Nov 2018 11:00:38 +0000
(12:00 +0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 26 Nov 2018 11:00:38 +0000
(12:00 +0100)
python/tests/test_phasevoc.py
patch
|
blob
|
history
diff --git
a/python/tests/test_phasevoc.py
b/python/tests/test_phasevoc.py
index
957d3b1
..
6a7b8ad
100755
(executable)
--- 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),