Modulate sine tones.

Is it easily possible to generate a sine tone and then apply am and fm modulation to it? Lets say I want a 500 hz tone that vibrates between 450 and 550 hz with 5 hz fm and am. How would I go about in audacity to do this? One hour googling gave no answer.

How to fm and am modulate a sine tone?

Modulation takes two signals. Are you wanting to modulate two sine tones, or one sine tone with some other signal?

Topics merged.

I want to modulate one sine with another sine. Both am and fm.

Amplitude modulation is easy. You just “multiply” the two tones. You can do this using the Nyquist Prompt effect (http://manual.audacityteam.org/man/nyquist_prompt.html).

To amplitude modulate any selected audio with, say a 5 Hz sine tone, use this code:

(mult *track* (hzosc 5))

For frequency modulation, it is easiest to generate both the carrier and the message. For example:
“I want a 500 hz tone that vibrates between 450 and 550 hz with 5 hz”

(hzosc (sum 500 (mult 50 (hzosc 5))))

For AM, generating both the carrier and the message:

(mult (hzosc 500)(hzosc 5))

A slightly different (a bit more complex, but more “normal”) version for AM:

(mult (hzosc 500) 0.5 (sum 1 (hzosc 5)))