> Fine to learn how it should work, but here, there is always the same crash,
> even in 2.2.1, trying to decode FT8 on the air or from a wav file. In
> contrast, FT4 decodes well.
Claude,
Please try this change to line 48 in gen_ft8wave.f90 and let me know if it
fixes your problem:
$ git diff
diff --git a/lib/ft8/gen_ft8wave.f90 b/lib/ft8/gen_ft8wave.f90
index 02e7fdbd..9e277375 100644
--- a/lib/ft8/gen_ft8wave.f90
+++ b/lib/ft8/gen_ft8wave.f90
@@ -45,7 +45,7 @@ subroutine
gen_ft8wave(itone,nsym,nsps,bt,fsample,f0,cwave,wave,icmplx,nwave)
! Calculate and insert the audio waveform
phi=0.0
dphi = dphi + twopi*f0*dt !Shift frequency up by f0
- wave=0.
+ if(icmplx .eq. 0) wave=0.
if(icmplx .ne. 0) cwave=0. !Avoid writing to memory we may not have access to
call timer('gen_loop',0)
Steve k9an
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel