by Patrick Corgan
𝘉𝘺 𝘗𝘢𝘵𝘳𝘪𝘤𝘬 𝘊𝘰𝘳𝘨𝘢𝘯
This flow converts between text and Morse code. When translating from Morse, use one space to separate letters and space-slash-space to separate words.
'...[sp]---[sp]...' : 'sos'
'...[sp]/[sp]---[sp]/[sp]...' : 's o s'
The flow uses the space character to divide up the Morse string to be converted, so missing or extra spaces will likely produce garbage results. The flow tries to remove any extra spaces, but it can't read your mind (it's on the to-do list though).
If you mix alphanumeric and Morse the flow will ignore any Morse characters and convert the alphanumerics to Morse.
Unknown sequences of dots and dashes are ignored.
𝙒𝙖𝙩𝙘𝙝 𝙛𝙤𝙧 𝙨𝙥𝙖𝙘𝙚𝙨 𝙖𝙙𝙙𝙚𝙙 𝙤𝙧 𝙧𝙚𝙢𝙤𝙫𝙚𝙙 𝙗𝙮 𝙖𝙪𝙩𝙤𝙘𝙤𝙧𝙧𝙚𝙘𝙩!
In Morse output, the section character ('§') is used to separate words.
The input dialog accepts only A-Z, 0-9, [ . ] , [ — ] , [ / ] , [sp] and is case-insensitive.
This flow is based on "[/|\] Text Translator (Military & Morse)" by Alexandre Desfontaines. This is his Morse converter code with input validation and some cosmetic changes.
Reviews and ratings can be submitted in the app.