wget http://simcommander.cn/download/haisantts-py.gz
tar xvfz haisantts-py.gz
cd haisantts-py
python haisantts.py3
#coding=utf-8
import sys
saystr = sys.argv[1]
import ctypes
from ctypes import *
lib = ctypes.cdll.LoadLibrary("./libhaisantts.so")
lib.startHaisanTTS.argtypes=[POINTER(c_char)]
TTS=(c_char * 100)(*bytes((saystr),'utf-8'))
cast(TTS, POINTER(c_char))
lib.startHaisanTTS(TTS)