0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

run rds in quadrature to stereo pilot instead of in phase

This commit is contained in:
2025-03-10 20:48:09 +01:00
parent 1cbc8e7903
commit 50fe064beb
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
{
"port": 13452,
"time": 1741529730555,
"time": 1741636077079,
"version": "0.0.3"
}

View File

@@ -471,7 +471,7 @@ int main(int argc, char **argv) {
float stereo = (ready_l - ready_r) / 2.0f; // Also Stereo to Mono but a bit diffrent
float stereo_carrier = get_oscillator_sin_multiplier_ni(&osc, polar_stereo ? 1 : 2);
if(rds_on && polar_stereo == 0) {
float rds_carrier = get_oscillator_sin_multiplier_ni(&osc, 3);
float rds_carrier = get_oscillator_cos_multiplier_ni(&osc, 3);
output[i] += (current_rds_in*rds_carrier)*RDS_VOLUME;
}
if(polar_stereo) {