Morse Code Practice System

GUI allows the operator to send the Morse Code of the alphabet, a text string or from the keyboard.
2.1K Downloads
Updated 21 Jan 2014

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

In addition to the program file there is a text file CodeGroups.txt that has some code groups that can be sent. The three documents MorseCodePlayer.pdf, .htm, .docx are just three different versions of the help file.

The code speed(rate of dots and dashes), word speed(period between words) and audio frequency of transmitted dots and dashes can be adjusted. The word speed is restricted to be equal or less than the code speed. The code and word speed can be adjusted either by the sliders or by entering values in the respective text fields.

When transmitting either a text file or the alphabet there is a stop transmission button to allow the operator to terminate the transmission.

When transmitting a file the user must first, using the "Select TextFile" from the menu bar, select a file to be transmitted. The transmission will stop when the end of the file is reached. All text in the file is converted to upper case as it is being used. Also, whenever there is more than one space in a row, the extras are removed.

When the Transmit Keyboard is selected a small modal window opens and retains focus until the transmission is ended. The transmission is ended by pressing the escape key. The inputted text is buffered and transmitted at the selected rates. When entering the text from the keyboard, pressing the backspace key will delete the last character entered from the input buffer. After the input text is complete and escape has been pressed, the operator can stop the transmission using the Stop Transmission button.

From the menu bar selecting "Code Table" will display the code table built into the program. There are 60 entries in the table with the last being a word space.

Cite As

James Willmann (2024). Morse Code Practice System (https://www.mathworks.com/matlabcentral/fileexchange/25420-morse-code-practice-system), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Audio Processing Algorithm Design in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.4.0.0

Updated MorseCode.m to use audioplayer in place of waveplay. All other files are the same.

1.3.0.0

Updated to include an App file for R2012b

1.2.0.0

*

1.0.0.0