Hacker News new | ask | show | jobs
by hananova 68 days ago
The name FM always bothered me. You're not modulating the frequency, you're modulating the phase. PM would be a better name.

If you were to modulate frequency, well first of all you'd have to define a reference point or you'd just get glitchy sound. In practice that means most FM implementations just have a highly oversampled single cycle of a sine wave in memory, and it's the speed at which the sample pointer consumes the looping sine that's set to correspond to some frequency, and then that value is modulated. In other words, phase modulation.

2 comments

Phase modulation is essentially

    sin(phase + modulator * modulation index)
For a non-DC modulator without discontinuities it does result in an effective modulation of the frequency. You can think of phase modulation as a means to achieve frequency modulation with certain desirable properties that distinguish it from other methods.
d/dt phase = frequency

that matches

> it's the speed at which the sample pointer consumes the looping sine that's set to correspond to some frequency

The rest of your message doesn't make sense to me. Both phase and frequency can be modulated, perhaps most clearly seen with FSK vs. PSK.