@projectjam/morse-translate
Version:
a morse code encoder & decoder
47 lines (46 loc) • 1.33 kB
JavaScript
export const abbreviations = {
"73": "Best regards",
"88": "Love and kisses",
"BCNU": "Be seeing you",
"CQ": "Call to all stations",
"CS": "Call sign (request)",
"CUL": "See you later",
"DE": "From (or 'this is')",
"ES": "And",
"K": "Over (invitation to transmit)",
"OM": "Old man",
"R": "Received / Roger",
"RST": "Signal report",
"UR": "You are",
"QRL": "The frequency is in use",
"QRM": "Your transmission is being interfered with (1-5)",
"QRN": "I am troubled by static (1-5)",
"QRO": "Increase transmitter power",
"QRP": "Decrease transmitter power",
"QRQ": "Send faster",
"QRS": "Send more slowly",
"QRT": "Stop sending",
"QRU": "I have nothing for you",
"QRV": "I am ready to copy",
"QRX": "Wait",
"QRZ": "You are being called by...",
"QSB": "Your signals are fading",
"QSL": "I acknowledge receipt",
"QTH": "My location is..."
};
export const proceduralSignals = {
"<AR>": ".-.-.",
"<AS>": ".-...",
"<BK>": "-...-.-",
"<BT>": "-...-",
"<CL>": "-.-..-..",
"<CT>": "-.-.-",
"<DO>": "-..---",
"<KA>": "-.-.-",
"<KN>": "-.--.",
"<SK>": "...-.-",
"<SN>": "...-.",
"<SOS>": "...---...",
"<HH>": "........", // error
"<AA>": ".-.-." // new line (shared with AR)
};