Пример #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();
        }