コード例 #1
0
        public void OutputSentence(string sentence, string audioFileOutPutPath)
        {
            List <List <bool[]> > elements = MorseCodeConvert.SentenceToMorseElements(sentence);

            outPut.OutPutSentence(elements, audioFileOutPutPath);
        }
コード例 #2
0
        public void OutPutWord(string word, string audioFileOutPutPath)
        {
            List <bool[]> wordElements = MorseCodeConvert.WordToMorseElement(word);

            outPut.OutPutWord(wordElements, audioFileOutPutPath);
        }
コード例 #3
0
 public void PlaySentence(string sentence, PlayingProgress progress, CancellationToken canclelationToken)
 {
     morseCodePlayer.PlayWords(MorseCodeConvert.SentenceToMorseElements(sentence), progress, canclelationToken);
 }
コード例 #4
0
 public void PlayWord(string word, PlayingProgress progress, CancellationToken canclelationToken)
 {
     morseCodePlayer.PlayWord(MorseCodeConvert.WordToMorseElement(word), progress, canclelationToken);
 }