Changeset 6091189 for python/tests


Ignore:
Timestamp:
Nov 26, 2018, 12:00:38 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
6124059
Parents:
099776d
Message:

[tests] run phase vocoder with hop_s = win_s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_phasevoc.py

    r099776d r6091189  
    5656                        + 'This is expected when using fftw3 on powerpc.')
    5757            assert_equal ( r, 0.)
     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.)
    5867
    5968    @params(
Note: See TracChangeset for help on using the changeset viewer.