mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-10-31 23:57:10 -04:00
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:
parent
4cbd7900da
commit
236a5e5a08
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user