--- title: "Frequency Modulation" slug: "frequency-modulation" group: "synthesis" order: 108 --- Any source can be frequency modulated. Frequency modulation (FM) is a technique where the frequency of a carrier wave is varied by an audio signal. This creates complex timbres and can produce rich harmonics, from mellow timbres to harsh digital noise. The frequency modulation index. FM multiplies the gain of the modulator, thus controls the amount of FM applied. The harmonic ratio of the frequency modulation. fmh*freq defines the modulation frequency. As a rule of thumb, numbers close to simple ratios sound more harmonic. FM modulator waveform shape. Options: `sine`, `tri`, `saw`, `square`, `sh` (sample-and-hold). Different shapes create different harmonic spectra. Envelope amount of frequency envelope. The duration (seconds) of the fm envelope's attack phase. The duration (seconds) of the fm envelope's decay phase. The sustain level of the fm envelope. The duration (seconds) of the fm envelope's release phase.