diff options
| author | Christoph Berg <myon@debian.org> | 2020-09-28 23:28:13 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2020-09-28 23:28:13 +0200 |
| commit | 7aa3c56b01768ba7d38fccedc17b30a4046b3fbb (patch) | |
| tree | da509a2cf3667b6f9855ea811f4a1f95d9e6f5ef /lib/ft8 | |
| parent | 28f34ff4908a90b1a7323b2988c33cdb1779fa06 (diff) | |
New upstream version 2.3.0~rc1+repackupstream/2.3.0_rc1+repack
Diffstat (limited to 'lib/ft8')
| -rw-r--r-- | lib/ft8/foxgen.f90 | 27 | ||||
| -rw-r--r-- | lib/ft8/foxgen_wrap.f90 | 2 |
2 files changed, 3 insertions, 26 deletions
diff --git a/lib/ft8/foxgen.f90 b/lib/ft8/foxgen.f90 index 7492a6f7..a2899e52 100644 --- a/lib/ft8/foxgen.f90 +++ b/lib/ft8/foxgen.f90 @@ -15,7 +15,8 @@ subroutine foxgen() ! common block.
parameter (NN=79,ND=58,NSPS=4*1920)
- parameter (NWAVE=NN*NSPS,NFFT=614400,NH=NFFT/2)
+ parameter (NWAVE=(160+2)*134400*4) !the biggest waveform we generate (FST4-1800 at 48kHz)
+ parameter (NFFT=614400,NH=NFFT/2)
character*40 cmsg
character*37 msg,msgsent
integer itone(79)
@@ -60,34 +61,10 @@ subroutine foxgen() peak1=maxval(abs(wave))
wave=wave/peak1
-! call plotspec(1,wave) !Plot the spectrum
-
-! Apply compression
-! rms=sqrt(dot_product(wave,wave)/kz)
-! wave=wave/rms
-! do i=1,NWAVE
-! wave(i)=h1(wave(i))
-! enddo
-! peak2=maxval(abs(wave))
-! wave=wave/peak2
-
-! call plotspec(2,wave) !Plot the spectrum
-
width=50.0
call foxfilt(nslots,nfreq,width,wave)
peak3=maxval(abs(wave))
wave=wave/peak3
-
-! nadd=1000
-! j=0
-! do i=1,NWAVE,nadd
-! sx=dot_product(wave(i:i+nadd-1),wave(i:i+nadd-1))
-! j=j+1
-! write(30,3001) j,sx/nadd
-!3001 format(i8,f12.6)
-! enddo
-
-! call plotspec(3,wave) !Plot the spectrum
return
end subroutine foxgen
diff --git a/lib/ft8/foxgen_wrap.f90 b/lib/ft8/foxgen_wrap.f90 index bc8c430f..fec9f37c 100644 --- a/lib/ft8/foxgen_wrap.f90 +++ b/lib/ft8/foxgen_wrap.f90 @@ -1,7 +1,7 @@ subroutine foxgen_wrap(msg40,msgbits,itone)
parameter (NN=79,ND=58,KK=77,NSPS=4*1920)
- parameter (NWAVE=NN*NSPS)
+ parameter (NWAVE=(160+2)*134400) !the biggest waveform we generate (FST4-1800)
character*40 msg40,cmsg
character*12 mycall12
|
