Can one track amplitude-modulate another track?

Background: In creating a radio signal to transmit, a radio station can either use “AM” (Amplitude Modulation) or “FM” (Frequency Modulation). Each uses a “carrier wave” of constant frequency, much higher than the frequency of the information to be transmitted. In Amplitude Modulation, the information is imposed onto the carrier wave, so that the “envelope amplitude” of the high-pitched carrier wave equals the information (voice or music or whatever) to be transmitted.

I want to do that with Audacity. I have one track that is almost too low-pitched for me to hear. I want to create a constant frequency (maybe 2kHz), constant amplitude second track, and modulate its envelope amplitude to equal the first low-pitched track. Then I will be able to hear the information as modulations of the 2kHz “carrier wave.”

Does any such tool exist? If so, what is it called, and how do I use it to do the above?

I cannot simply add the two tracks; when my information track is silent, I want the final output to be silent. If I simply add the tracks, when the information track is silent, I will hear the carrier wave channel blaring away.

Actually, if I could MULTIPLY the instantaneous amplitude of the two tracks, that might give me something close enough to what I want.

Thanks.

–Mark

I think Multiply we can do.

Effect > Vocoder.

A similar tool is how Peter Frampton gets his “Talking Guitar.”

http://theaudacitytopodcast.com/chriss-dynamic-compressor-plugin-for-audacity/

Koz

Yes, it can be done quite easily using the “Nyquist Prompt” effect.

Select the track that has the really low sound, then open the Nyquist Prompt, then copy/paste this code into the text box of the Nyquist Prompt:

(defun AM (sig)
  (mult 0.5  (sum 1 sig)(hzosc 2000)))
(multichan-expand #'am s)

The result of that code still has the carrier, how about this …

(mult s (hzosc 2000))


[ or am I getting AM and FM mixed up ? ]

Won’t you need to filter out everything below the carrier frequency ? …

That’s “normal” for AM (double-sideband + full-carrier)

Broadcast AM isn’t the only amplitude modulation possible. You can create normal AM the conventional way and then surgically suck the carrier out creating double sideband, suppressed carrier which is how the stereo information is carried in FM Stereo. FM Stereo sends a tiny piece of the original carrier along as the “Pilot Tone” and the receiver takes it from there.

You can get even crazier. The amateur radio operators create AM and then suck out both the carrier and one of the two sidebands, creating “Single Sideband” or SSB communications. The up side is you get to talk in real time with half the channel space normally required, good because hams don’t have a lot of room in their frequencies. The down side is you as the listener get to put the carrier back in wherever you think it should go. There’s no guide other than intelligibility. This causes voices anywhere from rumbling earthquake to squeaky chew-toy – on the same voice depending on receiver adjustment. But the goal is efficient voice communications, not Boston Symphony Orchestra.

http://www.hamuniverse.com/ssbaudio.mp3

Koz (formerly WB4WGE)

Of historical significance is Analog Broadcast Television. The picture was AM, carrier and all, but it wasn’t symmetrical. The lower sideband was a runt or stub with just enough quality to powerfully transmit the synchronizing signals. The upper sideband was full quality as predicted in the AM arithmetic. This helped get more TV channels in the bands allocated with good stability and little or no picture distortion.

Koz (Former Broadcast Engineer)

Question for WB4WGE,

What sort of AM does Trebor’s code produce? Is it double sideband suppressed carrier?

To test Trebor’s code with an audio range message and a carrier beyond the audible frequency range, use a mono audio track with a sample rate of say 176400 Hz, and set the carrier frequency to say 24000.

(mult s (hzosc 24000))

From the spectrogram of the before-after mp3 above, it’s “double sideband suppressed carrier”
on the “after” the spectrogram is reflected about the carrier frequency (1KHz in this case) …
Spectrogram of Dubya, before-after ''(mult s (hzosc 1000))''.png
If the brief is just to shift a low frequency recording up by the carrier frequency then the lower sideband should be removed, (with high-pass equalization).

I’m guessing that what mkrilano1922 had in mind was basic amplitude modulation as illustrated in the AM trace here: