コード例 #1
0
ファイル: MacroForm.cs プロジェクト: juhoyoung/SimpleTTS
        private void CheckText(int index, String newText)  // 내용이 다르거나 음성파일 없을때 생성
        {
            TTS tts = new TTS(); // text to speak 기능
            String fName = "macro" + index + ".mp3";

            if (!old_mText[index].Equals(newText) || tts.fileExist(fName)) 
            {
                old_mText[index] = newText;
                tts.SaveAudio(newText, fName); // 오디오 저장
            }
            
        }