mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 12:53:53 +01:00
make it modulate a sine wave which is generated live, not sure if works
This commit is contained in:
@@ -17,25 +17,15 @@ typedef struct
|
||||
uint16_t crc;
|
||||
} RDSModulatorParametersFile;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint8_t symbol_shift: 7;
|
||||
float sample_buffer[SAMPLE_BUFFER_SIZE];
|
||||
uint8_t sample_buffer_idx : 7;
|
||||
} RDSModulatorSymbolShifting;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint8_t bit_buffer[BITS_PER_GROUP];
|
||||
uint8_t bit_pos : 7;
|
||||
float sample_buffer[SAMPLE_BUFFER_SIZE];
|
||||
uint8_t prev_output : 1;
|
||||
uint8_t cur_output : 1;
|
||||
uint8_t cur_bit : 1;
|
||||
uint8_t sample_count;
|
||||
uint16_t in_sample_index;
|
||||
uint16_t out_sample_index;
|
||||
RDSModulatorSymbolShifting symbol_shifting;
|
||||
uint8_t symbol_shift: 7;
|
||||
float phase;
|
||||
} RDSModulatorModulationData;
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user