Skip to content

EdgarBarranco/MorseMIDI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MorseMIDI

This project was writen in Pyhton using the libreries Tkinter and MidiUtils. This project converts text to Morse code in MIDI format. These MIDI files can be used to embed morse code into your music. This project was inspired by the online page "Morse Code: MIDI & Text Generator" by Robert Ecker.

In most cases after installing the latest version of python, you will need to run:

pip3 install midiutil

International Morse Code encodes 26 letters, numbers from zero to nine, and a subset of special characters such as periods, comas, etc. An interval of silence equivalent to the length of the short signal is used to maintain the spacing between each dot or dash signal. An interval of silence equivalent to three short signals is used to maintain the spacing between each letter. Additionally, an interval of silence equivalent to seven short signals is used to maintain the spacing between each word. This encoding has been implemented using the UI.

The UI offers the following options:

  • Volume: Default 100. it is the velocity of the node. DAWs will use this as audio level.
  • Note: Default 80. MIDI note to use for the tones.
  • BPM: Default 120. BPM to encode MIDI file.
  • Time Resolution: Default 480. Co-relates to Words Per Minute.
  • Dot length: Default 58. Length of the Morse Code "DOT".
  • Dash length: Default 174. Length of the Morse Code "DASH".
  • Silence between marks: Default 58. Length of the silence between DOT or DASH.
  • Silence between letters: Default 174. Length of the silence between letters.
  • Silence between words: Default 406. Length of the silence between words.
  • Textbox: Type whatever you want to convert to morse in this box.
  • Convert button: Save file dialog will be shown to save the newly created MIDI file.

UI screenshots:

Windows UI:

Windows UI

Linux UI:

Linux UI

macOS UI:

macOS UI

Screenshots in Ableton and FL Studio:

Ableton:

Ableton

FL Studio:

FL Studio

About

Convert text to Morse MIDI

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages