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

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

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