summaryrefslogtreecommitdiff
path: root/lib/ft8/foxgen.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2020-09-28 23:28:13 +0200
committerChristoph Berg <myon@debian.org>2020-09-28 23:28:13 +0200
commit7aa3c56b01768ba7d38fccedc17b30a4046b3fbb (patch)
treeda509a2cf3667b6f9855ea811f4a1f95d9e6f5ef /lib/ft8/foxgen.f90
parent28f34ff4908a90b1a7323b2988c33cdb1779fa06 (diff)
New upstream version 2.3.0~rc1+repackupstream/2.3.0_rc1+repack
Diffstat (limited to 'lib/ft8/foxgen.f90')
-rw-r--r--lib/ft8/foxgen.f9027
1 files changed, 2 insertions, 25 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