Morse Code Translator

Morse code is a method of converting plain text into a series of on-off tones, lights or clicks or some dots & dashes format text which can be understood only by a skilled listener or observer. It was named after the inventor of the telegraph Samuel F.B Morse.

ALGORITHM FOR MORSE CODE TRANSLATOR

The algorithm for the morse code translator is very simple. In this, we have to convert each alphabet into its corresponding dot & dashes or only with dot or dashes in some cases and vice-versa.

MODULES USED

  1. dictionary.py:- This module consists of a morse code dictionary having keys and values for the conversion. 2, encryption.py:- This module consists of a function that is used to convert normal text into morse code.
  2. decryption.py:- This module consists of a function that is used to convert morse code into plain text.
  3. gui.py:- This is the module where you can run the code with its simple GUI interface.
  4. gui_support.py:- This is the module with try and except for importing the right library and for displaying GUI.
  5. run.py:- This module deals with the running of code with GUI. It is terminal-based for the sake of simplicity.

Built With

Share this project:

Updates