Skip to main content

4 posts tagged with "morse"

View all tags

Morse Code Mnemonics: a Radio Club Method and a Trainer

路 17 min read
UR3PKI
Software Engineer

After the post about the iambic key adapter and the trainer I got talking to the head of a children's radio club. He sent a video lesson and the table of sung mnemonics his club teaches with, and when I asked how he would see the trainer, he described what his lessons lack. It turned out radio clubs teach Morse code in a completely different way from my trainer: a character is not heard as a sound at full speed but sung as a tune.

In two days the trainer got a "Mnemonics" tab with the club's lesson order, three mnemonic sets by three authors, corrective texts built from the learner's mistakes, and a radio amateur's reference. Below is the method, what became of it in code, and where the mnemonics themselves had to be fixed.

USB Iambic Key Adapter in a Day: YD-RP2040, a Printed Case and a Koch Morse Trainer

路 13 min read
UR3PKI
Software Engineer

I own an iambic paddle but had nothing to practise with: switching on the transceiver for that is a chore, and browser trainers expect keyboard presses. One day later there were three things: an adapter that turns the paddle into a USB keyboard, a case for it with my callsign, and a trainer that understands the paddle itself.

A Morse Decoder in a Browser Tab: DeepCW on ONNX

路 7 min read
UR3PKI
Software Engineer

Audio from the sound card turns into text, and all of it happens in the tab: nothing is uploaded to a server, nothing calls out to somebody else's API. A 14 MB neural network sits next to the page, the ONNX runtime is built into the same bundle, and after the first load the page works with no network at all.

The interesting part is not that it works. The interesting part is how many ways there are to get it wrong, none of which announce themselves with an error.

The Morse tree: a variable-length code a century before Huffman

路 6 min read
UR3PKI
Software Engineer

Morse code is usually presented as a table: a letter, and beside it the dots and dashes. In that form it looks like an arbitrary list, and all you can do with it is memorise it.

It is in fact a binary tree, and in that form you can see the engineering decision taken in the 1840s: the frequency of a letter sets its depth. E is one dot, T one dash, because those are the commonest letters in English. Q, J and Z sit all the way down on the fourth level. Alfred Vail arrived at this not by theory but by counting: he counted the letters in the type cases of a local newspaper.

A variable-length code, allocated by symbol frequency. A hundred-odd years before Shannon and Huffman explained why that works.