2020-01-31 10:45:12 +01:00
|
|
|
import React from "react"
|
2020-02-06 04:15:55 +01:00
|
|
|
import useMorsePlayer from "../hooks/useMorsePlayer"
|
2020-02-06 11:43:21 +01:00
|
|
|
import straight_key from "../images/straight_key.jpg"
|
|
|
|
|
import electronic_key from "../images/electronic_key.jpg"
|
2020-01-31 10:45:12 +01:00
|
|
|
|
|
|
|
|
export default React.memo(function Info() {
|
|
|
|
|
|
2020-02-06 04:15:55 +01:00
|
|
|
const {playMorseWord} = useMorsePlayer()
|
2020-02-05 11:29:45 +01:00
|
|
|
|
2020-01-31 10:45:12 +01:00
|
|
|
return (
|
2020-02-06 04:15:55 +01:00
|
|
|
<div id="info">
|
2020-02-07 03:10:17 +01:00
|
|
|
<h1>Morse Code</h1>
|
2020-02-06 04:15:55 +01:00
|
|
|
<p>Morse code is a method of communication via short and long tones with standard spacing between each tone.</p>
|
|
|
|
|
|
2020-02-06 11:43:21 +01:00
|
|
|
<h2>Dits and Dahs</h2>
|
2020-02-06 04:15:55 +01:00
|
|
|
<p>
|
2020-02-06 11:43:21 +01:00
|
|
|
<h3>Dit</h3> <i className="ri-volume-up-fill" onClick={() => playMorseWord('.')}></i><br />
|
2020-02-06 04:15:55 +01:00
|
|
|
Denoted as a dot (.), dits are short tones and are base unit of morse code.<br />
|
2020-02-06 11:43:21 +01:00
|
|
|
<h3>Dah</h3> <i className="ri-volume-up-fill" onClick={() => playMorseWord('-')}></i><br />
|
2020-02-06 04:15:55 +01:00
|
|
|
Denoted as a dash (-), dahs are long tones the length of three dits.
|
|
|
|
|
</p>
|
|
|
|
|
|
2020-02-06 11:43:21 +01:00
|
|
|
<h2>Spacing</h2 >
|
2020-02-06 04:15:55 +01:00
|
|
|
<p>
|
2020-02-06 11:43:21 +01:00
|
|
|
<h3>Intra-character Spacing</h3> <i className="ri-volume-up-fill" onClick={() => playMorseWord('...')}></i><br />
|
2020-02-06 04:15:55 +01:00
|
|
|
Silence between dits and dahs the length of one dit. Three dits separated by dit-long spaces is an "S".<br />
|
2020-02-06 11:43:21 +01:00
|
|
|
<h3>Inter-character Spacing</h3> <i className="ri-volume-up-fill" onClick={() => playMorseWord('. . .')}></i><br />
|
2020-02-06 04:15:55 +01:00
|
|
|
Silence the length of 3 dits. Three dits separated by three-dit-long spaces is "EEE".<br />
|
2020-02-06 11:43:21 +01:00
|
|
|
<h3>Inter-word Spacing</h3> <i className="ri-volume-up-fill" onClick={() => playMorseWord('././.')}></i><br />
|
2020-02-06 04:15:55 +01:00
|
|
|
Silence the length of 7 dits. Three dits separated by seven-dit-long spaces is "E E E".
|
|
|
|
|
</p>
|
|
|
|
|
|
2020-02-06 11:43:21 +01:00
|
|
|
<h2>Speed</h2 >
|
2020-02-06 04:15:55 +01:00
|
|
|
<p>
|
|
|
|
|
Adjusting the <b>WPM</b> (Words Per Minute) in the Options Menu on the right sidebar will adjust the lengths of the dits, dahs, and spacing accordingly.
|
|
|
|
|
</p>
|
2020-02-01 10:49:21 +01:00
|
|
|
|
2020-02-06 11:43:21 +01:00
|
|
|
<h2>Telegraph Key Types</h2 >
|
2020-02-06 04:15:55 +01:00
|
|
|
<p>The instrument used to send morse code is called the key.</p>
|
2020-02-06 11:43:21 +01:00
|
|
|
|
|
|
|
|
<center><img src={straight_key} alt="Straight Key" /></center>
|
2020-02-07 03:10:17 +01:00
|
|
|
<p><b>Straight Keys</b> use a single button and generates tones when pressed down. Straight keys require greater accuracy as you control the dits, dahs, and spacing manually.</p>
|
2020-02-06 11:43:21 +01:00
|
|
|
<center><img src={electronic_key} alt="Electronic Key"></img></center>
|
2020-02-06 04:15:55 +01:00
|
|
|
<p><b>Electronic Keys</b> 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.</p>
|
2020-01-31 10:45:12 +01:00
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
})
|