Struct demod_fm::FmDemod [] [src]

pub struct FmDemod { /* fields omitted */ }

Demodulates an FM signal using a phase difference approximation.

Methods

impl FmDemod
[src]

Create a new FmDemod with the given frequency deviation f (Hz) and sample rate fs (Hz).

The deviation must satisfy the Nyquist limit, f ≤ fs / 2.

Feed in an FM sample, producing the next sample in the demodulated signal.