public void OutputSentence(string sentence, string audioFileOutPutPath) { List <List <bool[]> > elements = MorseCodeConvert.SentenceToMorseElements(sentence); outPut.OutPutSentence(elements, audioFileOutPutPath); }
public void OutPutWord(string word, string audioFileOutPutPath) { List <bool[]> wordElements = MorseCodeConvert.WordToMorseElement(word); outPut.OutPutWord(wordElements, audioFileOutPutPath); }
public void PlaySentence(string sentence, PlayingProgress progress, CancellationToken canclelationToken) { morseCodePlayer.PlayWords(MorseCodeConvert.SentenceToMorseElements(sentence), progress, canclelationToken); }
public void PlayWord(string word, PlayingProgress progress, CancellationToken canclelationToken) { morseCodePlayer.PlayWord(MorseCodeConvert.WordToMorseElement(word), progress, canclelationToken); }