Morse looks dot-dash patterns (in MorseDict) for a given character or string and converts them to times for playback. Based on the Morse class by Hairi Vogel.
http://en.wikipedia.org/wiki/Morse_Code, based on ITU recommendation ITU-R M.1677, found here: http://www.godfreydykes.info/international\ morse\ code.pdf
get the times for a single character or symbol.
char |
a single char or one of the supported special symbols. |
a list of dot-dash time values and the pauses in between them.
get the time lists for a word.
word |
a string without blank space |
the time values for the chars in the word.
get the time lists for a word.
text |
the text to be encoded to Morse times. default = "Hello Morse". |
the time values for the text
convert a text to dot-dash signs.
text |
the text to be encoded to Morse dot-dash signs. default = "Hello Morse" |
the time values for the text
get and set the time for a dot - default is 0.1
get and set the time for a dash - default is 0.3
get and set pause time within a char - default is 0.1
get and set pause time between chars - default is 0.3
get and set pause time between words - default is 0.7
get and set flag whether to post debug messages