import React from "react" import useMorsePlayer from "../hooks/useMorsePlayer" import straight_key from "../images/straight_key.jpg" import electronic_key from "../images/electronic_key.jpg" import Legend from "./Legend" import PlayMorseInput from "./PlayMorseInput" export default React.memo(function Info() { const {playMorseWord} = useMorsePlayer() return (
Morse code is a method of communication via short and long tones with standard spacing between each tone.
Dit playMorseWord('.')}>
Denoted as a dot (.), dits are short tones and are base unit of morse code.
Dah playMorseWord('-')}>
Denoted as a dash (-), dahs are long tones the length of three dits.
Intra-character Spacing playMorseWord('...')}>
Silence between dits and dahs the length of one dit. Three dits separated by one-dit-long spaces is an "S".
Inter-character Spacing playMorseWord('. . .')}>
Silence the length of three dits. Three dits separated by three-dit-long spaces is "EEE".
Inter-word Spacing playMorseWord('. /. /.')}>
Silence the length of seven dits. Three dits separated by seven-dit-long spaces is "E E E".
Adjusting the WPM (Words Per Minute) in the Options Menu will adjust the lengths of the dits, dahs, and spacing accordingly.
The instrument used to send morse code is called the key.
Straight Keys use a single button and generates tones when pressed down. Straight keys require greater accuracy as you control the dits, dahs, and spacing manually.
Electronic Keys automatically generate dits or dahs of appropriate length. The Electronic Keyer used here is an Iambic keyer. It uses two paddles, one for dits, one for dahs. Switch between the two at the appropriate times to build letters.