Argle-Bargle

Thanks to Silverback Bill for finding this. Grendel, aka, Old Rockers is officially over, but the good news is, you can view it in perpetuity:

Old Rockers

The Musical Journey of Grendel You can view it all here: https://silverbackdigest.com/grendel-part-one/


The sound of the dialup, pictured

by Oona Räisänen Saturday, November 17, 2012

If you ever connected to the Internet before the 2000s, you probably remember that it made a peculiar sound. But despite becoming so familiar, it remained a mystery for most of us. What do these sounds mean?

(The audio was recorded by William Termini on his iMac G3.)

As many already know, what you’re hearing is often called a handshake, the start of a telephone conversation between two modems. The modems are trying to find a common language and determine the weaknesses of the telephone channel originally meant for human speech.

Below is a spectrogram of the handshake audio. I’ve labeled some signals according to which party transmitted them, and also put a concise explanation below.

[Image: A large infographic detailing the phases of the dialup handshake, centered on a time-frequency-power representation (spectrogram).]

(You can order this poster as a high-res print via Redbubble!)

Hello, is this a modem?

The first thing we hear in this example is a dial tone, the same tone you would hear when picking up your landline phone. The modem now knows it’s connected to a phone line and can dial a number. The number is signaled to the network using Dual-Tone Multi-Frequency signaling, or DTMF, the same sounds a telephone makes when dialing a number.

The remote modem answers with a distinct tone that our calling modem can recognize. They then exchange short bursts of binary data to assess what kind of protocol is appropriate. This is called a V.8 bis transaction.

Suppressing echoes

Now the modems must address the problem of echo suppression. When humans talk, only one of them is usually talking while the other one listens. The telephone network exploits this fact and temporarily silences the return channel to suppress any confusing echoes of the talker’s own voice.

Modems don’t like this at all, as they can very well talk at the same time (it’s called full-duplex). The answering modem now puts on a special answer tone that will disable any echo suppression circuits on the line. The tone also has periodic “snaps” (180° phase transitions) that aim to disable yet another type of circuit called echo canceller.

Finding a suitable modulation

Now the modems will list their supported modulation modes and try to find one that both know. They also probe the line with test tones to see how it responds to tones of different frequencies, and how much it attenuates the signal. They exchange their test results and decide a speed that is suitable for the line.

Enough small talk!

After this, the modems will go to scrambled data. They put their data through a special scrambling formula before transmission to make its power distribution more even and to make sure there are no patterns that are suboptimal for transfer. They listen to each other sending a series of binary 1’s and adjust their equalizers to optimally shape the incoming signal.

Soon after this, the modem speaker will go silent and data can be put through the connection.

But why?

Why was it audible? Why not, one could ask. Back in the days, telephone lines were used for audio. The first modems even used the telephone receiver like humans do, by talking into the mouthpiece, until newer modems were developed that could directly connect into the phone line. Even then, the idea of not hearing what’s happening on a phone line you’re calling on was quite new, and modems would default to exposing the user to the handshake audio. And in case you accidentally called a human, you would still have time to pick up the telephone and explain the situation.

All you had to do to silence the handshake was to send the command ATM0 down the serial line before dialing.

All you had to do to silence the handshake was to send the command ATM0 down the serial line before dialing.

Great to learn this TEN YEARS TOO LATE!!

3 thoughts on “Argle-Bargle

  1. Stephen, I love this post (thank you). It helps that I’ve spent my entire career in the telecom world. One additional thought: When I teach “telecom 101” for lack of a better term, the way I describe the role of the modem is this. Given that we’re trying to transmit high-frequency, digital data from computers over a telephone line that is deliberately engineered (and frequency-limited) to carry the narrow frequency requirements of the human voice, the job of the modem is to fool the network into thinking that it’s speaking with a telephone. Gotta love the logic! The modem is a digital Trojan Horse.

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: