dds_cccf
Direct digital (up/down) synthesizer object
Public Functions
dds_cccf | dds_cccf_create( |
dds_cccf | dds_cccf_copy( |
int | dds_cccf_destroy( |
int | dds_cccf_print( |
int | dds_cccf_reset( |
int | dds_cccf_set_scale( |
int | dds_cccf_get_scale( |
unsigned int | dds_cccf_get_num_stages( |
unsigned int | dds_cccf_get_delay_interp( |
float | dds_cccf_get_delay_decim( |
int | dds_cccf_decim_execute( |
int | dds_cccf_interp_execute( |
Interfaces
dds_cccf dds_cccf_create(
Create digital synthesizer object
- _num_stages : number of half-band stages, 0 < _num_stages
- _fc : signal relative center frequency, _fc \(\in\) {-0.5, 0.5}
- _bw : signal relative bandwidth, _bw \(\in\) {0, 1}
- _as : filter stop-band attenuation (dB), 0 < _as
dds_cccf dds_cccf_copy(
Copy object including all internal objects and state
int dds_cccf_destroy(
Destroy digital synthesizer object
int dds_cccf_print(
Print synthesizer object internals
int dds_cccf_reset(
Reset synthesizer object internals
int dds_cccf_set_scale(
Set output scaling for synthesizer
- _q : synthesizer object
- _scale : scaling factor to apply to each output sample
int dds_cccf_get_scale(
Get output scaling for synthesizer
- _q : synthesizer object
- _scale : scaling factor to apply to each output sample
unsigned int dds_cccf_get_num_stages(
Get number of half-band states in DDS object
unsigned int dds_cccf_get_delay_interp(
Get delay (samples) when running as interpolator
float dds_cccf_get_delay_decim(
Get delay (samples) when running as decimator
int dds_cccf_decim_execute(
Run DDS object as decimator
- _q : synthesizer object
- _x : input data array, shape: ((1<<_num_stages), 1)
- _y : output sample
int dds_cccf_interp_execute(
Run DDS object as interpolator
- _q : synthesizer object
- _x : input sample
- _y : output data array, shape: ((1<<_num_stages), 1)