freqdem

Analog frequency demodulator

Variants: freqdem

Public Functions

freqdem freqdem_create(float _kf)
int freqdem_destroy(freqdem _q)
int freqdem_print(freqdem _q)
int freqdem_reset(freqdem _q)
int freqdem_demodulate(freqdem _q, float complex _r, float * _m)
int freqdem_demodulate_block(freqdem _q, float complex * _r, unsigned int _n, float * _m)

Interfaces

freqdem freqdem_create(float _kf)

Create freqdem object (frequency modulator)

  • _kf : modulation factor

int freqdem_destroy(freqdem _q)

Destroy freqdem object

int freqdem_print(freqdem _q)

Print freqdem object internals

int freqdem_reset(freqdem _q)

Reset state

int freqdem_demodulate(freqdem _q, float complex _r, float * _m)

Demodulate sample

  • _q : frequency modulator object
  • _r : received signal r(t)
  • _m : output message signal m(t)

int freqdem_demodulate_block(freqdem _q, float complex * _r, unsigned int _n, float * _m)

Demodulate block of samples

  • _q : frequency demodulator object
  • _r : received signal r(t) [size: _n x 1]
  • _n : number of input, output samples
  • _m : message signal m(t), shape: (_n, 1)