cpfskmod

Continuous-Phase Frequency-Shift Keying Modulator

Public Functions

cpfskmod cpfskmod_create(unsigned int _bps, float _h, unsigned int _k, unsigned int _m, float _beta, int _type)
cpfskmod cpfskmod_create_msk(unsigned int _k)
cpfskmod cpfskmod_create_gmsk(unsigned int _k, unsigned int _m, float _BT)
cpfskmod cpfskmod_copy(cpfskmod _q)
int cpfskmod_destroy(cpfskmod _q)
int cpfskmod_print(cpfskmod _q)
int cpfskmod_reset(cpfskmod _q)
unsigned int cpfskmod_get_bits_per_symbol(cpfskmod _q)
float cpfskmod_get_modulation_index(cpfskmod _q)
unsigned int cpfskmod_get_samples_per_symbol(cpfskmod _q)
unsigned int cpfskmod_get_delay(cpfskmod _q)
float cpfskmod_get_beta(cpfskmod _q)
int cpfskmod_get_type(cpfskmod _q)
int cpfskmod_modulate(cpfskmod _q, unsigned int _s, float complex * _y)

Interfaces

cpfskmod cpfskmod_create(unsigned int _bps, float _h, unsigned int _k, unsigned int _m, float _beta, int _type)

create cpfskmod object (frequency modulator)

  • _bps : bits per symbol, 0 < _bps
  • _h : modulation index, 0 < _h
  • _k : samples/symbol
  • _m : filter delay (symbols), 0 < _m
  • _beta : filter bandwidth parameter, 0 < _beta
  • _type : filter type (e.g. LIQUID_CPFSK_SQUARE)

cpfskmod cpfskmod_create_msk(unsigned int _k)

create modulator object for minimum-shift keying

  • _k : samples/symbol

cpfskmod cpfskmod_create_gmsk(unsigned int _k, unsigned int _m, float _BT)

create modulator object for Gauss minimum-shift keying

  • _k : samples/symbol
  • _m : filter delay (symbols), 0 < _m
  • _BT : bandwidth-time factor, 0 < _BT < 1

cpfskmod cpfskmod_copy(cpfskmod _q)

Copy object including all internal objects and state

int cpfskmod_destroy(cpfskmod _q)

Destroy modulator object, freeing all allocate memory

int cpfskmod_print(cpfskmod _q)

Print modulator status to stdout

int cpfskmod_reset(cpfskmod _q)

Reset internal state of modulator object

unsigned int cpfskmod_get_bits_per_symbol(cpfskmod _q)

Get modulator's number of bits per symbol

float cpfskmod_get_modulation_index(cpfskmod _q)

Get modulator's modulation index

unsigned int cpfskmod_get_samples_per_symbol(cpfskmod _q)

Get modulator's number of samples per symbol

unsigned int cpfskmod_get_delay(cpfskmod _q)

Get modulator's filter delay [symbols]

float cpfskmod_get_beta(cpfskmod _q)

Get modulator's bandwidth parameter

int cpfskmod_get_type(cpfskmod _q)

Get modulator's filter type

int cpfskmod_modulate(cpfskmod _q, unsigned int _s, float complex * _y)

modulate sample

  • _q : frequency modulator object
  • _s : input symbol
  • _y : output sample array, shape: (_k, 1)