Return-Path: Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by mtain-db02.r1000.mx.aol.com (Internet Inbound) with ESMTP id 6871C38000084; Mon, 30 Jan 2012 22:44:15 -0500 (EST) Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1Rs4bk-0006yg-WF for rs_out_1@blacksheep.org; Tue, 31 Jan 2012 03:42:12 +0000 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1Rs4bk-0006yX-BU for rsgb_lf_group@blacksheep.org; Tue, 31 Jan 2012 03:42:12 +0000 Received: from mail16.primus.ca ([216.254.141.183] helo=mail-01.primus.ca) by relay1.thorcom.net with esmtp (Exim 4.63) (envelope-from ) id 1Rs4bi-0003iZ-EY for rsgb_lf_group@blacksheep.org; Tue, 31 Jan 2012 03:42:12 +0000 Received: from dyn-dsl-bb-98-124-8-228.nrtco.net ([98.124.8.228] helo=Bigmachine.magma.ca) by mail-01.primus.ca with esmtpa (Exim 4.72) (envelope-from ) id 1Rs4bg-0000a1-2N for rsgb_lf_group@blacksheep.org; Mon, 30 Jan 2012 22:42:08 -0500 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 30 Jan 2012 22:42:40 -0500 To: rsgb_lf_group@blacksheep.org From: Bill de Carle In-Reply-To: <4F26E836.4010106@iup.uni-heidelberg.de> References: <4F246297.4020304@charter.net> <50DDDC5E26754BC284D529DCB4A1C2C3@White> <4F258CB5.2090105@charter.net> <4F25DA96.3080607@iup.uni-heidelberg.de> <4F25F3D0.70503@iup.uni-heidelberg.de> <4F26E06D.2000507@iup.uni-heidelberg.de> <4F26E836.4010106@iup.uni-heidelberg.de> Mime-Version: 1.0 X-Authenticated: ve2iq - dyn-dsl-bb-98-124-8-228.nrtco.net (Bigmachine.magma.ca) [98.124.8.228] X-Spam-Score: 0.0 (/) X-Spam-Report: autolearn=disabled,none Message-Id: Subject: LF: WOLF Monkey Business Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on post.thorcom.com X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-SA-Exim-Scanned: Yes Sender: owner-rsgb_lf_group@blacksheep.org Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group X-SA-Exim-Rcpt-To: rs_out_1@blacksheep.org X-SA-Exim-Scanned: No; SAEximRunCond expanded to false x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:491375104:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d40564f27638e7921 X-AOL-IP: 195.171.43.25 X-AOL-SPF: domain : blacksheep.org SPF : none I have here two versions of the original WOLF command-line program: 0.51 and 0.61 - apparently there is also a version 0.62 which is used by the GUI program. I wanted to duplicate what Stefan did using the GUI version: generate a signal on 8970 Hz using 24000 s/s. It *seemed* to work OK but when I examined the sound card output signal with Cool Edit, the frequency was way low - about 8241 Hz instead of 8970. So I went back to the original command line programs. I found that versions 0.51 and 0.61 apparently worked, generating 2,304,000 audio samples (exactly 96 seconds at 24000 s/s) to a file called WOLFX.WAV. Unfortunately the samplerate in the .wav file header was coded as 8000 s/s, which means if we played it back it would run for 288 seconds and the audio carrier frequency would appear at 2990 Hz. So I went in and manually changed the s/s field in the wav header to 24000 s/s. Then the file worked OK. I was able to decode the message by mixing the 8970 Hz down to 800 Hz and decimating the sample rate to 8000 s/s. Turning again to the GUI version, I asked it to encode a .wav file at 24000 s/s with a carrier freq of 8970 Hz. It reported version 0.62 and everything OK. However, when I examined the WOLFX.WAV file so created, its .wav header said the samplerate was 22050 s/s instead of 24000 s/s! That explains why the real-time GUI uutput seemed low in frequency: 8970 * 22050 / 24000 = 8241.1875 Hz. The upshot is we need to manually check the wav header and set the s/s field to 24000 instead of whatever else it might say. And furthermore, don't trust the real-time Tx soundcard output signal frequency with the GUI version, especially when using odd-ball sample rates and high output frequencies which may never have been tested. Be aware that WOLF generates envelope-shaped audio, so it might be more difficult to convert it to a clean square wave to drive a Tx, especially near the phase transitions where the amplitude drops down to zero. 73, Bill VE2IQ