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-13 02:48:34 +01:00
import straight _key from "../media/images/straight_key.jpg"
import electronic _key from "../media/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-13 09:13:57 +01:00
< p > Morse code is a method of communication that uses short tones ( dits ) and long tones ( dahs ) in various sequences to make letters , numbers , and special characters . This tool will help beginners 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-12 10:16:40 +01:00
< span className = "bold" > Dit < /span> <i className="ri-volume-up-fill" onClick={() => playMorseWord('.')}></i > ( < span className = "ditdah" > . < /span>) Short tones and the base unit length of Morse code communication.<br / >
< span className = "bold" > Dah < /span> <i className="ri-volume-up-fill" onClick={() => playMorseWord('-')}></i > ( < span className = "ditdah" > - < / s p a n > ) L o n g t o n e s , e a c h 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-13 09:13:57 +01:00
< p > The spacing between dits and dahs matters in Morse code . Spacing of various lengths signify different things . < br / >
2020-02-12 10:16:40 +01:00
< span className = "bold" > Intra - character Spacing < / s p a n > A l e t t e r i n M o r s e c o d e c a n b e m a d e u p o f m u l t i p l e d i t s a n d d a h s . T h e s p a c e s b e t w e e n t h e d i t s a n d d a h s t h a t m a k e u p a s i n g l e l e t t e r a r e e a c h t h e l e n g t h o f o n e d i t . E . g . , t h r e e d i t s , e a c h s e p a r a t e d b y o n e - d i t - l o n g s p a c e s , i s a n " S " . ( < s p a n c l a s s N a m e = " d i t d a h " > . . . < / s p a n > ) < i c l a s s N a m e = " r i - v o l u m e - u p - f i l l " o n C l i c k = { ( ) = > p l a y M o r s e W o r d ( ' . . . ' ) } > < / i > < b r / >
< span className = "bold" > Inter - character Spacing < / s p a n > T h e s p a c e b e t w e e n c o n s e c u t i v e l e t t e r s i s t h r e e d i t s l o n g . E . g . , t h r e e d i t s , e a c h s e p a r a t e d b y a t h r e e - d i t - l o n g s p a c e s i s " E E E " . ( < s p a n c l a s s N a m e = " d i t d a h " > . . . < / s p a n > ) < i c l a s s N a m e = " r i - v o l u m e - u p - f i l l " o n C l i c k = { ( ) = > p l a y M o r s e W o r d ( ' . . . ' ) } > < / i > < b r / >
< span className = "bold" > Inter - word Spacing < /span> The space between words is seven dits long. E.g., three dits, each separated by seven-dit-long spaces (denoted by a forward slash in this example: <span className="ditdah">./ . / . < /span>), is "E E E". <i className="ri-volume-up-fill" onClick={() => playMorseWord('./ . / . ' ) } > < / i >
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-13 09:13: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 >
2022-08-06 20:25:25 +02:00
< p > < b > Electronic Keys < / b > u s e p a d d l e s 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 d i t s a n d d a h 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 t h a t u s e s t w o p a d d l e s – l e f t p a d d l e f o r d i t s , r i g h t p a d d l e f o r d a h s . P r e s s i n g b o t h p a d d l e s s i m u l t a n e o u s l y a u t o m a t i c a l l y 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 . M o d e B a u t o m a t i c a l l y a d d s a n e x t r a a l t e r n a t e d i t o r d a h . S w i t c h b e t w e e n t h e t w o p a d d l e s 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-02-12 10:16:40 +01:00
< p > Check out < a href = 'https://www.youtube.com/watch?v=uEy4Wvy6uUg' target = '_blank' rel = "noopener noreferrer" > this video < / a > f o r a d e m o n s t r a t i o n o f t h e d i f f e r e n c e b e t w e e n S t r a i g h t a n d E l e c t r o n i c k e y s . < / p >
2020-01-31 10:45:12 +01:00
< / d i v >
)
} )