Skip to content

Struct wfm_source_t

ClassList > wfm_source_t

One additive source within a segment: a synth config + its level.More...

  • #include <wfm_compose.h>

Public Attributes

Type Name
uint8_t * bits
double f_end
double f_end_hi
double freq
double freq_hi
double level
double level_hi
int lfsr
int modulation
size_t n_bits
size_t n_symbols
int pn_length
uint64_t pn_poly
int pulse
unsigned ranged
double rrc_beta
int rrc_span
uint32_t seed
double snr
double snr_hi
int snr_mode
int sps
float _Complex * symbols
int type

Detailed Description

The nine synth fields mirror wfm_synth_create() (minus fs, which is the segment's — one receiver, one sample rate). level is the source's average power in dBFS (≤0); the segment sums its sources, each scaled by 10^(level/20).

Any of freq/snr/level/f_end may be a per-repeat uniform draw: set the matching WFM_RANGE_* bit in ranged, leave the scalar as lo, and put hi in the *_hi companion (see the ranged enum).

Public Attributes Documentation

variable bits

uint8_t* wfm_source_t::bits;

variable f_end

double wfm_source_t::f_end;

variable f_end_hi

double wfm_source_t::f_end_hi;

variable freq

double wfm_source_t::freq;

variable freq_hi

double wfm_source_t::freq_hi;

variable level

double wfm_source_t::level;

variable level_hi

double wfm_source_t::level_hi;

variable lfsr

int wfm_source_t::lfsr;

variable modulation

int wfm_source_t::modulation;

variable n_bits

size_t wfm_source_t::n_bits;

variable n_symbols

size_t wfm_source_t::n_symbols;

variable pn_length

int wfm_source_t::pn_length;

variable pn_poly

uint64_t wfm_source_t::pn_poly;

variable pulse

int wfm_source_t::pulse;

variable ranged

unsigned wfm_source_t::ranged;

variable rrc_beta

double wfm_source_t::rrc_beta;

variable rrc_span

int wfm_source_t::rrc_span;

variable seed

uint32_t wfm_source_t::seed;

variable snr

double wfm_source_t::snr;

variable snr_hi

double wfm_source_t::snr_hi;

variable snr_mode

int wfm_source_t::snr_mode;

variable sps

int wfm_source_t::sps;

variable symbols

float _Complex* wfm_source_t::symbols;

variable type

int wfm_source_t::type;


The documentation for this class was generated from the following file native/inc/wfm/wfm_compose.h