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