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
56 + 'This is expected when using fftw3 on powerpc.')56 + 'This is expected when using fftw3 on powerpc.')
57 assert_equal ( r, 0.)57 assert_equal ( r, 0.)
58 58
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
59 @params(68 @params(
60 ( 256, 8),69 ( 256, 8),
61 ( 256, 4),70 ( 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