This little program reads in text message from the command line, encodes into Morse code, plays the message and prints out the message in morse code. The morse dash and dot sounds are read from mp3 files and the morse code book for the alphabetic letters is stored in a JSON file.
- Make sure you have Rust installed (see: https://www.rust-lang.org/tools/install).
- Download the source code from git.
- Build the code with:
cargo build - Run the code:
cargo runyou will then be prompted to enter a message to encode.
Adil Hasan