Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.1 KB

README.md

File metadata and controls

42 lines (24 loc) · 1.1 KB

Awesome Python

Python_morse_with_sounds

This is a simple Python program that translates text into Morse code.

Requirements

This program requires the following Python library :

pygame

You can install them by running the following command:

pip install -r requirements.txt    

Usage

To use this program, run the main.py file and enter the text you want to translate into Morse code. The program will output the Morse code both as text and as sound.

Example

Enter text to translate: Hello, world!    
... . .-.. .-.. ---   .-- --- .-. .-.. -..      

Sound Output

This program uses pygame to play the Morse code as sound. If you do not hear any sound, please check your volume settings.

Acknowledgements

This program was inspired by the Morse Code Translator on morsecode.world.

Developer

Hamdy Abou El Anein

hamdy.aea@protonmail.com