From 844dc6a0b3453b820220d74c2450eed71a564a37 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Sat, 20 Apr 2024 20:15:30 +0200 Subject: [PATCH] increased 5ms sync pulse width by 0.5ms this improves jitter on the Wraase modes --- app/src/main/java/xdsopl/robot36/Demodulator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/xdsopl/robot36/Demodulator.java b/app/src/main/java/xdsopl/robot36/Demodulator.java index 817b3b7..38cd4c1 100644 --- a/app/src/main/java/xdsopl/robot36/Demodulator.java +++ b/app/src/main/java/xdsopl/robot36/Demodulator.java @@ -57,7 +57,7 @@ public class Demodulator { float scanLineCutoff = scanLineBandwidth / 2; int scanLineFilterSamples = (int) Math.round(0.443 * sampleRate / scanLineCutoff) | 1; scanLineFilter = new ComplexMovingAverage(scanLineFilterSamples); - double syncPulse5msSeconds = 0.005; + double syncPulse5msSeconds = 0.0055; double syncPulse9msSeconds = 0.009; double syncPulse20msSeconds = 0.020; int syncPulse5msSamples = (int) Math.round(syncPulse5msSeconds * sampleRate) | 1;