Morse Code

This converts text to playable morse code in wav format.

您现在正在关注此提交

编者注: This file was selected as MATLAB Central Pick of the Week

MORSE converts text to playable morse code in wav format.

SYNTAX
morse(text)
morse(text,file);

Description:

If the wave file name is specified, then the funtion will output a wav file with that file name. If only text is specified, then the function will only play the morse code wav file without saving it to a wav file.

Examples:

morse('Hello');
morse('How are you doing my friend?','morsecode.wav');

引用格式

Fahad Al Mahmood (2026). Morse Code (https://ww2.mathworks.cn/matlabcentral/fileexchange/7791-morse-code), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: Morse/Demorse unleashed, demorse

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

Removed the wav file playing if the wav file name is specified.