Skip to content

Struct SYN_DDS

ClassList > SYN_DDS

DDS Generator State Instance.

  • #include <syn_dds.h>

Public Attributes

Type Name
q16_t amplitude
uint16_t duty_q16
q16_t offset
uint32_t phase
uint32_t phase_step
uint32_t rand_state
SYN_DDS_Waveform type

Public Attributes Documentation

variable amplitude

q16_t SYN_DDS::amplitude;

Q16.16 Peak Amplitude (e.g. 1.0)


variable duty_q16

uint16_t SYN_DDS::duty_q16;

PWM Duty cycle (0 to 65536 for 0-100%)


variable offset

q16_t SYN_DDS::offset;

Q16.16 DC Offset


variable phase

uint32_t SYN_DDS::phase;

32-bit Phase accumulator (0 to 2^32-1)


variable phase_step

uint32_t SYN_DDS::phase_step;

Phase increment per sample step


variable rand_state

uint32_t SYN_DDS::rand_state;

PRNG state for noise generator


variable type

SYN_DDS_Waveform SYN_DDS::type;

Waveform type



The documentation for this class was generated from the following file src/syntropic/dsp/syn_dds.h