libsstvenc
Asynchronous Analogue SSTV encoder
Loading...
Searching...
No Matches
cw.h File Reference
#include <libsstvenc/oscillator.h>
#include <libsstvenc/pulseshape.h>
#include <libsstvenc/timescale.h>
#include <stddef.h>
#include <stdint.h>
Include dependency graph for cw.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sstvenc_cw_mod
 

Macros

#define SSTVENC_CW_MOD_STATE_INIT   (0)
 
#define SSTVENC_CW_MOD_STATE_NEXT_SYM   (1)
 
#define SSTVENC_CW_MOD_STATE_MARK   (2)
 
#define SSTVENC_CW_MOD_STATE_DITSPACE   (3)
 
#define SSTVENC_CW_MOD_STATE_DAHSPACE   (4)
 
#define SSTVENC_CW_MOD_STATE_DONE   (5)
 

Functions

void sstvenc_cw_init (struct sstvenc_cw_mod *const cw, const char *text, double amplitude, double frequency, double dit_period, double slope_period, uint32_t sample_rate, uint8_t time_unit)
 
void sstvenc_cw_compute (struct sstvenc_cw_mod *const cw)
 
size_t sstvenc_cw_fill_buffer (struct sstvenc_cw_mod *const cw, double *buffer, size_t buffer_sz)