Miscellaneous Findings VIII: Modulation

This edition is brought to you by the start of my stint at the Recurse Center! One of my goals for my time at the Recurse Center is to learn more about signal processing, and I started by finding out how modulation works.

This is a roundup of miscellaneous things that I’ve found out about (or have rediscovered). I take notes on findings regularly, and I put the findings that translate well to speech on my podcast, Small Findings. The rest (which are often technical findings), I put here. They’re not always written up for maximum comprehension as a blog post, but if anything is hard to understand, please email me if you need clarification.

Modulation

Modulation is the act of modifying a wave with another wave. The modified wave is called the carrier signal, and the modifying wave is called the information signal.

Why did we need modulation for communication?

https://www.nicerf.com/articles/detail/antenna-length-frequency-and-wavelength.html

The length of the antenna is inversely proportional to the frequency and directly proportional to the wavelength.

So, speech at 20,000 Hz would have a wavelength of 300,000km/20,000 = 15 km. (Speech frequencies fall in the 20-20,000 Hz band.)

You need an antenna to be a 1/4 the length of the wavelength, so you’d need a 3.75 km antenna to send a 20 kHz signal.

If you use modulation, you can transmit that 20 kHz signal on a much higher frequency (lower wavelength) carrier signal, like a 100 MHz one that would require a 75 cm antenna. (On the receiving end, a demodulator would separate the information signal from the carrier signal.)

Another reason to use modulation is that even if everyone had giant antennae, the signals they’d broadcast would clash. By assigning different entities different carrier waves onto which they put information signals, collisions can be avoided.

FM

https://fas.org/man/dod-101/navy/docs/es310/FM.htm

Frequency modulation encodes the information signal by varying the frequency of the carrier signal by some amount, which is determined by what’s called a modulation index. The link above gives the example of an FM transmitter using a modulation index of 5 and getting a bandwidth of 180 kHz. So, the lowest frequency the antenna would need to broadcast in a carrier signal at 88 MHz would be 88 MHz - 180 kHz = 87.82 MHz. The required antenna length would be 300,000km/8,782,000/4 = 0.00854 km = 8.54 m.

FM modulation as a vocoder

I’m going to have more on vocoders later, which are a kind of modulator for encoding speech, but also for interesting musical effects.

But without getting too deeply what they are, I did wonder what an FM modulator in the role of a vocoder would sound like. So, I modified my fm-modulator module, which I had previously made to test out differently modulated carrier signals to indicate magnitudes back when The Sound of the Far Future was purely a data sonification. The module allowed the information signal to be a simple oscillation only, so I modified it to accept arbitary audio as the information signal.

Here’s my information signal recording:

And here is the result when you use it to modulate a 440 Hz sawtooth wave:

You can tell when I’m talking and when I’m not in that encoded signal. Other than that…it’s no vocoder. There may be some musical uses for this, but it’s not going to be broadly applicable.

If you’d like to here what you’d sound like FM modulated, you can try for yourself here.