Here I find the following:

When jt49sim is commanded to produce a jt4 wave file it produces a jt9
wave file, e.g. the command:

jt49sim "K1ABC W9XYZ EN37" 4C 1 0.0 0.0 1 -15

produces a JT9C wave file instead of the expected JT4C wave file, even
though the console message says that a JT4 wave file is being created:

===============console message follows================

C:\JTSDK\wsjtx\garc\qt52\1.9.0\Release\install\bin>jt49sim "K1ABC W9XYZ
EN37" 4C 1 0.0 0.0 1 -15
File  Sig    Freq  Mode   S/N   DT   Dop    Message
------------------------------------------------------------
   1   1  1000.000  4C  -15.0  0.00   0.0 K1ABC W9XYZ EN37

===============end of console message================

The wave file produced is a JT9 wave file:
http://w3sz.com/JT4C-Original.wav

So whether the specified mode is "4" or "9", a JT9 mode wave file is
always produced.

This is so with version 1.9.0-rc4 r8642 from directory
C:\JTSDK\wsjtx\garc\qt52\1.9.0\Release\build (which I copied to
..Release\install\bin)

compiled locally using JTSDK 2.0.6-0 Release r715.

This is true for all sub-modes JT4A-G.

I thought that the likely culprit causing this problem was line 56 in
jt49sim.f90, "imode = 9" which is placed right before the imode "if"
statement, which you can see here:
https://sourceforge.net/p/wsjt/wsjt/8642/tree/tags/wsjtx-1.9.0-rc4/lib/jt49sim.f90

I suspect that this line was accidentally left in place after it was
added during debugging.

Removing line 56 ("imode = 9") and recompiling corrects the problem so
that JT4 files are produced by the "4" option and JT9 files are produced
by the "9" option.  A wave file created using the same command line as
was given above, but after the correction to the code as just described,
is here:
http://w3sz.com/JT4C-Corrected.wav

73,

Roger Rehr
W3SZ

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to