0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 04:43:52 +01:00

will this work?

This commit is contained in:
2025-04-28 16:20:25 +02:00
parent cac63033bc
commit 6e1a52cacb
5 changed files with 17 additions and 44 deletions

View File

@@ -12,7 +12,7 @@
#define BITS_PER_GROUP (GROUP_LENGTH * (BLOCK_SIZE + POLY_DEG))
#define RDS_SAMPLE_RATE 19000
#define SAMPLES_PER_BIT 16
#define FILTER_SIZE 64
#define FILTER_SIZE 16
#define SAMPLE_BUFFER_SIZE (SAMPLES_PER_BIT + FILTER_SIZE)
#define STREAMS 2

View File

@@ -6,5 +6,5 @@
Released under the GNU GPL v3 license.
*/
float waveform_biphase[64] = {0.001905215527506554, 0.0014857449947831558, 0.0, -0.0018260510389287443, -0.002879473467708782, -0.0022799681256350235, 0.0, 0.0028998088186253934, 0.004662004662004504, 0.003770143371148116, 0.0, -0.005034068109133871, -0.008325008325008265, -0.006947655510042394, 0.0, 0.01000275871035683, 0.017316017316017396, 0.015236086644829783, 0.0, -0.025132981969720025, -0.04761904761904756, -0.046927146866075575, 0.0, 0.11019845940569595, 0.2857142857142856, 0.5076664070057264, 0.7363107781851077, 0.9183204950474642, 1.0, 0.9428090415820631, 0.7363107781851077, 0.4040610178208841, 0.0, -0.4040610178208842, -0.7363107781851077, -0.9428090415820631, -1.0, -0.918320495047464, -0.7363107781851077, -0.5076664070057264, -0.2857142857142857, -0.11019845940569584, 0.0, 0.046927146866075464, 0.04761904761904745, 0.025132981969720136, 0.0, -0.015236086644829672, -0.017316017316017285, -0.010002758710356718, 0.0, 0.006947655510042505, 0.008325008325008376, 0.005034068109133871, 0.0, -0.003770143371148116, -0.004662004662004615, -0.0028998088186253934, 0.0, 0.0022799681256351345, 0.002879473467708893, 0.0018260510389287443, 0.0, -0.0014857449947831558};
float waveform_biphase[16] = {0.0, 0.3826834323650898, 0.7071067811865475, 0.9238795325112867, 1.0, 0.9238795325112867, 0.7071067811865476, 0.3826834323650899, 1.2246467991473532e-16, -0.3826834323650892, -0.7071067811865475, -0.9238795325112868, -1.0, -0.923879532511287, -0.7071067811865477, -0.3826834323650904};

View File

@@ -6,4 +6,4 @@
Released under the GNU GPL v3 license.
*/
extern float waveform_biphase[64];
extern float waveform_biphase[16];