Example #1
0
 def __test(src_order, src_gamma, dst_order, dst_gamma):
     np.random.seed(98765)
     src = np.random.rand(src_order + 1)
     dst = pysptk.gc2gc(src, src_gamma, dst_order, dst_gamma)
     assert np.all(np.isfinite(dst))
Example #2
0
 def __test(src_order, src_gamma, dst_order, dst_gamma):
     np.random.seed(98765)
     src = np.random.rand(src_order + 1)
     dst = pysptk.gc2gc(src, src_gamma, dst_order, dst_gamma)
     assert np.all(np.isfinite(dst))