Generation of I/Q samples from a binary stream (including upsampling and shaping filter).


Prototype

Veccf make_samples(const BitStream &bs, int ntaps, int osf, float &delay)

Parameters

bsBinary sequence.
ncoefsNumber of taps for shaping filter implementation.
osfOversampling factor.
delayDelay, in number of output samples, between the beginning of the output I/Q stream, and the middle of the first symbol (the delay is due to the shaping filter).

Description

This function will create, from a binary sequence, I/Q samples. The following steps are done:

  • Constellation mapping,
  • Upsampling,
  • Shaping filter.