From 0d664e4ed1e8880f0ff8659dce3cd4775e3ceb51 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 31 Jan 2024 10:47:16 -0500 Subject: [PATCH] WIP on superfox synctest. --- lib/superfox/synctest.f90 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/superfox/synctest.f90 b/lib/superfox/synctest.f90 index 9fd60b5a3..d1143e18b 100644 --- a/lib/superfox/synctest.f90 +++ b/lib/superfox/synctest.f90 @@ -37,19 +37,21 @@ program synctest call getarg(4,arg) read(arg,*) snrdb - nsps=1024 ntrperiod=15 rms=100. fsample=12000.0 !Sample rate (Hz) npts=fsample*ntrperiod !Total samples in .wav file twopi=8.0*atan(1.0) - tsync=2.0 - nsync=fsample*tsync - nsym=125 !Number of channel symbols + nsps=1024 + ns1=62 + nsync=23 + ns2=63 + tsync=nsync*nsps/fsample + nsym=125 !Number of channel symbols nsync=tsync*fsample - baud=12000.0/nsps !Keying rate (6.67 baud fot 15-s sequences) + baud=12000.0/nsps !Keying rate, 11.719 baud for nsps=1024 h=default_header(12000,npts) fname='000000_000001.wav' open(10,file=trim(fname),access='stream',status='unknown')