History

[tests] run phase vocoder with hop_s = win_s

Paul Brossier committed 7 years ago

Commit 60911891 parent 099776d1 file · +9 −0Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/tests/test_phasevoc.py+9−0
@@ -56,6 +56,15 @@ class aubio_pvoc_test_case(TestCase): · 55 unmodified lines
5656 + 'This is expected when using fftw3 on powerpc.')
5757 assert_equal ( r, 0.)
5858
59+ def test_no_overlap(self):
60+ win_s, hop_s = 1024, 1024
61+ f = pvoc (win_s, hop_s)
62+ t = fvec (hop_s)
63+ for _ in range(4):
64+ s = f(t)
65+ r = f.rdo(s)
66+ assert_equal ( t, 0.)
67+
5968 @params(
6069 ( 256, 8),
6170 ( 256, 4),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t