In this example, we convert a paragraph of text that
explains Morse code timing into Morse code itself.
Per unit of time is taken as the duration of one point. The duration of the dash is equal to three points. The pause between elements of the same sign is one point, between the signs in the word - 3 points, between words - 7 points.
.--. . .-. ....... ..- -. .. - ....... --- ..-. ....... - .. -- . ....... .. ... ....... - .- -.- . -. ....... .- ... ....... - .... . ....... -.. ..- .-. .- - .. --- -. ....... --- ..-. ....... --- -. . ....... .--. --- .. -. - .-.-.- ....... - .... . ....... -.. ..- .-. .- - .. --- -. ....... --- ..-. ....... - .... . ....... -.. .- ... .... ....... .. ... ....... . --.- ..- .- .-.. ....... - --- ....... - .... .-. . . ....... .--. --- .. -. - ... .-.-.- ....... - .... . ....... .--. .- ..- ... . ....... -... . - .-- . . -. ....... . .-.. . -- . -. - ... ....... --- ..-. ....... - .... . ....... ... .- -- . ....... ... .. --. -. ....... .. ... ....... --- -. . ....... .--. --- .. -. - --..-- ....... -... . - .-- . . -. ....... - .... . ....... ... .. --. -. ... ....... .. -. ....... - .... . ....... .-- --- .-. -.. ....... -....- ....... ...-- ....... .--. --- .. -. - ... --..-- ....... -... . - .-- . . -. ....... .-- --- .-. -.. ... ....... -....- ....... --... ....... .--. --- .. -. - ... .-.-.-