For submodes QRA64D and E, generate one signal at 700 Hz.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7314 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2016-11-14 18:13:31 +00:00
parent 496cd70f54
commit c2df8d3e4a

View File

@ -38,7 +38,8 @@ program qra64sim
read(arg,*) nfiles
call getarg(7,arg)
read(arg,*) snrdb
if(mode64.ge.8) nsigs=1
rms=100.
fsample=12000.d0 !Sample rate (Hz)
dt=1.d0/fsample !Sample interval (s)
@ -69,6 +70,7 @@ program qra64sim
do isig=1,nsigs !Generate requested number of sigs
if(mod(nsigs,2).eq.0) f0=1500.0 + dfsig*(isig-0.5-nsigs/2)
if(mod(nsigs,2).eq.1) f0=1500.0 + dfsig*(isig-(nsigs+1)/2)
if(mode64.ge.8) f0=700.0
xsnr=snrdb
if(snrdb.eq.0.0) xsnr=-20 - isig