Make a synthesizer. Drag the sliders to make new sounds:
This plays a sound with a “carrier frequency” of 440 hertz, a “modulation frequency” of 900 hertz, and a “modulation index” of 2:
Different modulation frequencies give different sounds.
Explore the effects of various modulation frequencies interactively with Manipulate.
Wrap the EmitSound expression with Manipulate, replace the fixed modulation frequency 900 with the variable mf, and specify that mf ranges from 1 to 2000 with an initial value of 900. Now you can drag the slider to change the modulation frequency. ContinuousActionFalse specifies that the sound should only be played when you stop dragging the slider:
Add controls for the carrier frequency and modulation index: