AM is a little bit easier to describe.
Disclaimer: my description below is not 100% accurate, and I’m being loose & sloppy with terminology in an effort to explain the concepts better.
First of all, you need to understand that a sound wave is nothing more than an air pressure signal that varies over time. You can easily convert the pressure signal into a voltage signal using a microphone. This is what music looks like after a microphone converts it to a time-varying voltage.
In the video, the voltage is simply a representation of the air pressure signal. We can call this a “music wave.” An audio amplifier & speaker can convert the voltage signal back into an air pressure signal.
Now you ask… how do I transmit this over the radio?
Simple.
Using a frequency generator, first generate a sinusoidal electromagnetic wave of constant frequency and constant amplitude. The frequency of the wave should be between 520,000 Hz and 1,610,000 Hz (AM band). Something like this.
Notice how the amplitude is constant over time? Kinda boring, huh?
So here’s what you do next… vary the sine wave’s amplitude so that it follows the music wave. The frequency generator should have an input for doing this. So you simply take the output of the microphone and connect it to the frequency generators “amplitude control” input jack.
Look at this diagram. See the green sine wave? It has a constant amplitude over time. That’s the signal out of the frequency generator *before *you starting screwing around with its amplitude.
The red signal is the music wave; it is the voltage at the output of the microphone.
The blue signal is the signal out of the frequency generator *after *you connect the microphone into the frequency generator’s “amplitude control” input jack. The amplitude of the signal now “follows” the music. Pretty cool, huh?
Take the blue signal and broadcast it to the world using an RF amplifier and antenna.
On the receiving end - an AM radio - you need to tune to the same frequency. The radio uses a filter to “extract” ONLY the amplitude. Thus the output of the filter is the red music signal. This signal is fed to an audio amplifier and speaker.