Morse decoder

Decodes Morse audio signals
76 Downloads
Updated Thu, 19 May 2022 19:42:56 +0000

View License

Decodes audio Morse code into text:
% [msg, ToneFreq, ditstat, dahstat] = morseDecode(y, Fs, [ToneFreq])
%
% INPUT
% y - audio signal, [nsmpl, number_of_messages]
% Fs - sampling frequency
% ToneFreq - tone frequency (optional), better be within 30 Hz of the actual one,
% if not set or is empty the actual tone frequency will be estimated
% from the signal, if set to 0, the default 1000 Hz will be used
%
% OUTPUT
% msg - decoded message
% ToneFreq - estimated tone frequency
% ditstat - "dit" interval statistics: [mean, std, min, max]
% dahstat - "dah" interval statistics: [mean, std, min, max]
%
% Based on decode.m from
% https://github.com/drid/morse-audio-decoder
%
% Peter L. Volegov
% Version 1.0.0.0, 05/17/2022

Cite As

Peter Volegov (2024). Morse decoder (https://www.mathworks.com/matlabcentral/fileexchange/111870-morse-decoder), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0