Soundout is now working (or at least making noise) with JTMS3 waveforms.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/jtms3@2479 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2012-07-03 19:43:26 +00:00
parent 900ff9f2c8
commit f5b9756a9a
11 changed files with 264 additions and 9 deletions
+6 -3
View File
@@ -10,7 +10,7 @@
#define NFFT 32768
short int iwave[60*11025]; //Wave file for Tx audio
short int iwave[30*48000]; //Wave file for Tx audio
int nwave; //Length of Tx waveform
bool btxok; //True if OK to transmit
double outputLatency; //Latency in seconds
@@ -1236,12 +1236,15 @@ void MainWindow::guiUpdate()
ba2msg(ba,message);
int len1=22;
//### Wrong mode!
/*
//### Wrong mode!
int mode65=m_mode65;
double samfac=1.0;
gen65_(message,&mode65,&samfac,&nsendingsh,msgsent,iwave,&nwave,len1,len1);
*/
genjtms3_(message,msgsent,iwave,&nwave,len1,len1);
msgsent[22]=0;
qDebug() << msgsent << nwave;
if(m_restart) {
QFile f("jtms3_tx.log");