示例#1
0
        public IActionResult Index()
        {
            var p = new SpeechDemo();

            p.Tts();
            return(View());
        }
示例#2
0
    static void Main(string[] args)
    {
        SpeechDemo client = new SpeechDemo();

        client.Tts("众里寻他千百度,那人却在灯火阑珊处");
        Console.WriteLine("asjf");
    }
示例#3
0
        static void Main(string[] args)
        {
            string     path       = ConfigurationManager.AppSettings["path"].ToString();
            SpeechDemo speechdemo = new SpeechDemo();

            // speechdemo.AsrData(path);
            speechdemo.Tts();
        }