From 69ca8b20a7a5a4fb8ec98e258cf164cce6dfc155 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 2 Nov 2012 14:18:01 +0000 Subject: [PATCH] Correct the format of *.wav header git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2714 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- WSJT-X_Quick_Start_Guide.docx | Bin 178587 -> 179253 bytes getfile.cpp | 34 +++++++++++++++++----------------- mainwindow.cpp | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/WSJT-X_Quick_Start_Guide.docx b/WSJT-X_Quick_Start_Guide.docx index c7a58f8e8db1f46e0deececf211510df07c7a451..20f22100bb51631c9173ff9f5eb16775f43f7192 100644 GIT binary patch delta 12897 zcmZ9zQ;^_I^d#Dtwr$(CZA{ztbWhv(O>^3|ZQItgZQC~YyL%)4clXvyz0^5TQF$UW zAF?v;VVhoHYayXvL2&LX2S7nU-XR;1q3A$?Bn71nX5^6Tq!*;P>n5}{M&-CemDt>~ zq92ap2A1(!gGBXI`cK>LM%tVen`S%*CjU%5w??j4_Qxx*<|)64#V>8AShMSYR5}$k zyG{{?XVe_ihf&+n=vtCk(uH2w_}v}eF*TxEtJ*fkz?j#uSR&+q(}=4fVB@si8(9|t zPJPma)}_HIXWC1|it{d%qC!v^*9Y>y$1{W1;~yfDs1Enr^wq5)dNR-8wfKoi8cFPA zsl^ad*}#jE&y9w=s?xY8ZtVW_Sz+k8U^pE{YK`}dWnX5?i|aKZ6LD}Zt3$xbPSCHhw<+g7){|DP<9x(4ftbM5^g+K|=z>Dl*zNO+}qRaB2Nxuww2&~04DYMrki z94S*RnR>rH?)heKTB+K7EjA^x{Qp!O3y)XBVXz;C3I8(oG`ByW-W< zJX%@F;>+${ujD%WNI2&)9eBR&_P5x!`AYWLVE<$v;jryIAG>5?CBa-zjkQDjtqN}v{nIBu>%}(};%P4My z-#b6G26MEusIZv0a|9ROC@c>t%-ioq7H>oz{i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)X<=4kBZoa0-30N*<|`=eW7k)q<1Cv1?1B(`!&|^Rz)-L{QNqa@ zNEu>?=HBT_cN+J9XY+@F%(bifpzFZ|m>62)`V&}T%|2-5QP`FvI3O)FqgVW>d4~j~ zM8z4*3I)l!dCOpn!^Y!+r-u2Zb}x+qt` z&PC>eqpygRs|M*|E;vV`o}{5x&cV_&LWNK~9f^}v{YTY{`i*^L)cuHG#cvAX%` zS9f4#kv8Ek3gJ*@Gw}zAeFcjSzGn-AfzInS@r0J#)E&5T@N7`8sK$uXs~J9vgV3z9QcXeGnJifyrfcY ztB$9r3#(@jH)*8}w4k~h+q|kaoSx}VPeC2L>h@VgoaFHsjfXJW;9O6BZ7Jb3GbHV( zD0f1oAJ}9)QKLa3Ib~CzmX2}3H9<6xefpc-hV!r re?ZavugU!HTm7n1!aD%`0OHz|u?~O`K(8(Zt`k58`PTFwME3sxTcbui diff --git a/getfile.cpp b/getfile.cpp index 2350ba515..f977e3a40 100644 --- a/getfile.cpp +++ b/getfile.cpp @@ -31,19 +31,19 @@ void getfile(QString fname, int ntrperiod) void savewav(QString fname, int ntrperiod) { struct { - char ariff[4]; - int nchunk; - char awave[4]; - char afmt[4]; - int lenfmt; - short int nfmt2; - short int nchan2; - int nsamrate; - int nbytesec; - short int nbytesam2; - short int nbitsam2; - char adata[4]; - int ndata; + char ariff[4]; //ChunkID: "RIFF" + int nchunk; //ChunkSize: 36+SubChunk2Size + char awave[4]; //Format: "WAVE" + char afmt[4]; //Subchunk1ID: "fmt " + int lenfmt; //Subchunk1Size: 16 + short int nfmt2; //AudioFormat: 1 + short int nchan2; //NumChannels: 1 + int nsamrate; //SampleRate: 12000 + int nbytesec; //ByteRate: SampleRate*NumChannels*BitsPerSample/8 + short int nbytesam2; //BlockAlign: NumChannels*BitsPerSample/8 + short int nbitsam2; //BitsPerSample: 16 + char adata[4]; //Subchunk2ID: "data" + int ndata; //Subchunk2Size: numSamples*NumChannels*BitsPerSample/8 } hdr; int npts=ntrperiod*12000; @@ -58,11 +58,11 @@ void savewav(QString fname, int ntrperiod) hdr.ariff[1]='I'; hdr.ariff[2]='F'; hdr.ariff[3]='F'; - hdr.nchunk=0; + hdr.nchunk=36 + 2*npts; hdr.awave[0]='W'; - hdr.awave[0]='A'; - hdr.awave[0]='V'; - hdr.awave[0]='E'; + hdr.awave[1]='A'; + hdr.awave[2]='V'; + hdr.awave[3]='E'; hdr.afmt[0]='f'; hdr.afmt[1]='m'; hdr.afmt[2]='t'; diff --git a/mainwindow.cpp b/mainwindow.cpp index 4737df914..5399fd160 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//------------------------------------------------------------- MainWindow +//-------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h"