# `Mx.FFT`
[🔗](https://github.com/mx-music/mx/blob/main/lib/mx/fft.ex#L1)

The spectrum of a stretch of samples, through a Hann window, as the magnitude of each frequency bin up to half the sample rate.

The number of samples must be a power of two, unless a power of two to pad them to with silence is given, which draws a short stretch on the bins of a long one.

# `magnitudes`

The magnitude of each frequency bin of the samples, from 0 Hz up to half the sample rate.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
