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

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

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