Reading time: less than 1 minute
Frequency modulation, or FM, is an analog modulation scheme that encodes information by changing the frequency of a carrier wave.
FM is commonly used in
- FM Radio stations to transmit music and speech
- Pager standards such as POCSAG
- Weather satellites sending pictures using Automatic Picture Transmission (APT)
- Handheld radio transceivers using Narrow FM (NFM)
Implementation in Python
RATE = 32_000
# Phase accumulator
ph = 0
for s in samples:
ph += 2 * math.pi * s / RATE
i = math.sin(ph)
q = math.cos(ph)
If you find this work useful, please cite it as:
title = "Frequency Modulation",
author = "Gokberk Yaltirakli",
journal = "gkbrk.com",
year = "2021",
url = "https://www.gkbrk.com/wiki/frequency-modulation/"
Not using BibTeX? Click here for more citation styles.
Gokberk Yaltirakli, "Frequency Modulation", July, 2021. [Online]. Available: https://www.gkbrk.com/wiki/frequency-modulation/. [Accessed Jul. 29, 2021].
Yaltirakli, G. (2021, July 29). Frequency Modulation. https://www.gkbrk.com/wiki/frequency-modulation/
Gokberk Yaltirakli, Frequency Modulation, GKBRK.COM (Jul. 29, 2021), https://www.gkbrk.com/wiki/frequency-modulation/