projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
8a11e2f
db3eb5c
)
Merge branch 'master' into feature/pytest
author
Paul Brossier
<piem@piem.org>
Mon, 26 Nov 2018 17:53:43 +0000
(18:53 +0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 26 Nov 2018 17:53:43 +0000
(18:53 +0100)
1
2
python/tests/test_phasevoc.py
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
python/tests/test_phasevoc.py
index
e17d1fd
,
6a7b8ad
..
cf3b7ac
---
1
/
python/tests/test_phasevoc.py
---
2
/
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.)
- @params(
+ 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.)
+
+ resynth_noise_args = "hop_s, ratio"
+ resynth_noise_values = [
( 256, 8),
( 256, 4),
( 256, 2),