Skip to content

A basic morse code translating, translating a string into morse code and plays it.

Notifications You must be signed in to change notification settings

tomScheers/Morse_Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Morse Code Translator

A basic translator in python that translates a string into Morse code. The program outputs the Morse code as text and plays beep to represent the dots and dashes.

Requirements

  • Python 3.x
  • vlc for Python To install vlc for python, run:
pip3 install python-vlc

or, on Debian-based systems:

sudo apt install python3-vlc

Usage

  1. Clone the repository and navigate to it:
git clone https://github.com/tomScheers/Morse_Code
cd Morse_Code
  1. Run the program
python3 main.py
  1. Provide your input:
  • When prompted, type the string you want translated to Morse code (e.g., "Hello, World!").
  • The program will ignore any non-alphanumeric characters and convert uppercase letters to lowercase.
  • You'll then see the Morse code representation printed, and you'll hear short and long beep for dots and dashes

About

A basic morse code translating, translating a string into morse code and plays it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages