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 < / h 1 >
2020-02-11 09:44:57 +01:00
< p > Morse code is a method of communication that uses short and long tones . This tool will help you learn Morse Code . < / p >
2020-02-06 04:15:55 +01:00
2020-02-06 11:43:21 +01:00
< h2 > Dits and Dahs < / h 2 >
2020-02-06 04:15:55 +01:00
< p >
2020-02-11 09:44:57 +01:00
< span className = "bold" > Dit < /span> <i className="ri-volume-up-fill" onClick={() => playMorseWord('.')}></i > Denoted as a period / dot ( < span className = "ditdah" > . < /span>), dits are short tones and are the base unit of Morse Code communication.<br / >
< span className = "bold" > Dah < /span> <i className="ri-volume-up-fill" onClick={() => playMorseWord('-')}></i > Denoted as a dash ( < span className = "ditdah" > - < / s p a n > ) , d a h s a r e l o n g t o n e s t h e l e n g t h o f t h r e e d i t s .
2020-02-06 04:15:55 +01:00
< / p >
2020-02-06 11:43:21 +01:00
< h2 > Spacing < / h 2 >
2020-02-11 09:44:57 +01:00
< p > The spacing between dits and dahs matters in Morse Code . Spacing of various lenghts signify different things . < br / >
< span className = "bold" > Intra - character Spacing < /span> <i className="ri-volume-up-fill" onClick={() => playMorseWord('...')}></i > Space between dits and dahs the length of one dit signify the dits and dahs are part of the same character . E . g . three dits separated by one - dit - long spaces is an "S" . < br / >
< span className = "bold" > Inter - character Spacing < /span> <i className="ri-volume-up-fill" onClick={() => playMorseWord('. . .')}></i > Space the length of three dits signify a new letter . A single dit is an "E" . Three dits , each separated by three - dit - long spaces , is "EEE" . < br / >
< span className = "bold" > Inter - word Spacing < /span> <i className="ri-volume-up-fill" onClick={() => playMorseWord('./ . / . ' ) } > < / i > S p a c e t h e l e n g t h o f s e v e n d i t s s i g n i f i e s a n e w w o r d . T h r e e d i t s , e a c h s e p a r a t e d b y s e v e n - d i t - l o n g s p a c e s , i s " E E E " .
2020-02-06 04:15:55 +01:00
< / p >
2020-02-09 10:47:07 +01:00
< h2 > Speed < / h 2 >
2020-02-06 04:15:55 +01:00
< p >
2020-02-11 09:44:57 +01:00
The rate of communication is increased or decreased by adjusting the length of the dits , which in turn adjusts the length of dahs and spaces . Adjust the < b > WPM < / b > ( W o r d s P e r M i n u t e ) i n t h e O p t i o n s s e c t i o n t o a d j u s t t h e s p e e d .
2020-02-06 04:15:55 +01:00
< / p >
2020-02-01 10:49:21 +01:00
2020-02-06 11:43:21 +01:00
< h2 > Telegraph Key Types < / h 2 >
2020-02-11 09:44:57 +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" / > < / c e n t e r >
2020-02-11 09:44:57 +01:00
< p > < b > Straight Keys < / b > u s e a s i n g l e b u t t o n a n d g e n e r a t e t o n e s w h e n p r e s s e d d o w n . S t r a i g h t k e y s r e q u i r e g r e a t e r a c c u r a c y a s t h e l e n g t h o f d i t s , d a h s , a n d s p a c i n g i s c o m p l e t e l y u n d e r m a n u a l c o n t r o l . < / p >
2020-02-06 11:43:21 +01:00
< center > < img src = { electronic _key } alt = "Electronic Key" > < / i m g > < / c e n t e r >
2020-02-11 09:44:57 +01:00
< p > < b > Electronic Keys < / b > u s e t w o p a d d l e s ( o n e f o r d i t , o n e f o r d a h ) t h a t a u t o m a t i c a l l y g e n e r a t e t h e t o n e s w h e n p r e s s e d . T h e E l e c t r o n i c K e y e r u s e d h e r e i s a n I a m b i c k e y e r , w h i c h a l t e r n a t e s b e t w e e n d i t a n d d a h w h e n b o t h p a d d l e s a r e p r e s s e d . S w i t c h b e t w e e n t h e t w o a t t h e a p p r o p r i a t e t i m e s t o b u i l d l e t t e r s i n M o r s e C o d e . < / p >
2020-01-31 10:45:12 +01:00
< / d i v >
)
} )