WSJT-X/g.py
J C Dutton 88c5bb9a6d Summary: Add first attempt at sound capture.
Currently display the trace in specjt, but does not seem to decode it.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@40 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-01-02 00:41:10 +00:00

25 lines
421 B
Python

DFreq=0.0
Freq=0.0
PingTime=0.0
PingFile="current"
report="26"
rms=1.0
mode_change=0
showspecjt=0
#------------------------------------------------------ ftnstr
def ftnstr(x):
y=""
for i in range(len(x)):
y=y+x[i]
return y
#------------------------------------------------------ filetime
def filetime(t):
# i=t.rfind(".")
i=6
t=t[:i][-6:]
t=t[0:2]+":"+t[2:4]+":"+t[4:6]
return t