/morsee

A service that encodes text to Morse and decodes Morse to text.

Primary LanguageHTMLMIT LicenseMIT

Morse Code Encoder/Decoder

This is a project that uses playsound in Python to provide the user with an audio of the Morse Code. Also, pyttsx is used to speak out the text encoded in the Morse code or the decoded text after running the program.

The front end of the site is created in Django and can be deployed on a webserver that has playsound/pyttsx installed on it.

Implementation Details

The basic idea is that using some basic codes, we can find the Morse code of a given text an vice-versa. Playsound module is then used to imitate the dit-dah sound of Mosre code corresponding to dot-dash. On the other hand, when we are provided with a Morse code, after decoding the text message, pyttsx provides the user with the audio of the message.

Build Instructions

Simply clone the repository and run the following command in the morsee folder:

python manage.py runserver

pyttsx and playsound need to be installed for the site to work along with django.

Screenshots of the Portal


Text to Morse Result
Morse to Text Result