I mistakenly left the simulator producing noise during the Rx sequence. Fixed.

Adjusted Rx start time by one buffer.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@96 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2006-01-13 22:29:18 +00:00
parent 076a01eba5
commit ef47c8ba04
3 changed files with 4 additions and 7 deletions

View File

@ -91,7 +91,7 @@ subroutine fivehz
if(ntr.ne.ntr0) then
ibuf0=ibuf !Start of new sequence, save ibuf
ibuf0=ibuf0-3 !Tweak the Rx start time
ibuf0=ibuf0-2 !Tweak the Rx start time
if(ibuf0.lt.1) ibuf0=ibuf0+1024
! if(mode(1:4).ne.'JT65') then
! ibuf0=ibuf0+3 !So we don't copy our own Tx

View File

@ -137,7 +137,6 @@ static int SoundOut( void *inputBuffer, void *outputBuffer,
short *in = (short*)inputBuffer;
short *wptr = (short*)outputBuffer;
unsigned int i,n;
static short n2;
static int n0;
static int ia=0;
static int ib=0;
@ -179,10 +178,8 @@ static int SoundOut( void *inputBuffer, void *outputBuffer,
}
}
else {
n2=0;
addnoise_(&n2);
*wptr++ = n2; //left
*wptr++ = n2; //right
*wptr++ = 0; //left
*wptr++ = 0; //right
}
}
fivehztx_(); //Call fortran routine

View File

@ -1,4 +1,4 @@
#------------------------------------------------------------ WSJT
#------------------------------------------------------------- WSJT
from Tkinter import *
from tkFileDialog import *
import Pmw