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