Return-Path: Received: from post.thorcom.com (post.thorcom.com [195.171.43.25]) by mtain-dc03.r1000.mx.aol.com (Internet Inbound) with ESMTP id B1A5F38000088; Sun, 6 May 2012 13:27:42 -0400 (EDT) Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1SR5Ec-0007km-0H for rs_out_1@blacksheep.org; Sun, 06 May 2012 18:27:02 +0100 Received: from [195.171.43.32] (helo=relay1.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1SR5Eb-0007kd-Em for rsgb_lf_group@blacksheep.org; Sun, 06 May 2012 18:27:01 +0100 Received: from mout6.freenet.de ([195.4.92.96]) by relay1.thorcom.net with esmtps (UNKNOWN:AES256-GCM-SHA384:256) (Exim 4.77) (envelope-from ) id 1SR5EZ-0001rc-Ka for rsgb_lf_group@blacksheep.org; Sun, 06 May 2012 18:27:00 +0100 Received: from [195.4.92.140] (helo=mjail0.freenet.de) by mout6.freenet.de with esmtpa (ID dl4yhf@freenet.de) (port 25) (Exim 4.76 #1) id 1SR5EY-0003Zi-5V for rsgb_lf_group@blacksheep.org; Sun, 06 May 2012 19:26:58 +0200 Received: from localhost ([::1]:35659 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID dl4yhf@freenet.de) (Exim 4.76 #1) id 1SR5EX-0002ii-PU for rsgb_lf_group@blacksheep.org; Sun, 06 May 2012 19:26:58 +0200 Received: from [195.4.92.22] (port=53032 helo=12.mx.freenet.de) by mjail0.freenet.de with esmtpa (ID dl4yhf@freenet.de) (Exim 4.76 #1) id 1SR5C8-0001bR-5O for rsgb_lf_group@blacksheep.org; Sun, 06 May 2012 19:24:28 +0200 Received: from blfd-4db012d0.pool.mediaways.net ([77.176.18.208]:4786 helo=[192.168.178.22]) by 12.mx.freenet.de with esmtpsa (ID dl4yhf@freenet.de) (TLSv1:CAMELLIA256-SHA:256) (port 465) (Exim 4.76 #1) id 1SR5C7-0002LE-UH for rsgb_lf_group@blacksheep.org; Sun, 06 May 2012 19:24:28 +0200 Message-ID: <4FA6B3C9.7030900@freenet.de> Date: Sun, 06 May 2012 19:24:25 +0200 From: wolf_dl4yhf User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: rsgb_lf_group@blacksheep.org References: <4F97E9C2.9030000@iup.uni-heidelberg.de> <7B23411450514A5CB804E6D2C65A1876@JimPC> In-Reply-To: <7B23411450514A5CB804E6D2C65A1876@JimPC> X-Spam-Score: -0.0 (/) X-Spam-Report: Spam detection software, running on the system "relay1.thorcom.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello Jim, Thanks for the detailed observation. Under the hood (of SL) there is a 'worker thread' for the audio processing which currently uses a high priority - possibly too high, possibly higher than the thread used for the USB driver's own thread which actually communicates with the external USB device. The effect of 'sporadically lost samples' seems to depend a lot on the USB device and/or its driver software. For example, I use the E-MU 0202 which doesn't give any phase glitches (I use it to monitor absolute phases of MSK signals on VLF over a long time). The E-MU a fast (ARM-) microcontroller built inside, which obviously buffers enough enough audio samples internally to avoid these drop-outs. For very cheap USB audio devices (which presumable do not contain a microcontroller for audio buffering and processing) it may help to reduce the priority of SL's own 'worker thread' to avoid interrupting the USB I/O thread. This will be added in one of the next releases. [...] Content analysis details: (-0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [195.4.92.96 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (dl4yhf[at]freenet.de) -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Scan-Signature: 0317e2ac8ed27149e57223a21580246d Subject: Re: LF: Generating 8970 Hz carrier with Spectrum Lab ? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:373506432:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d40834fa6b48e3738 X-AOL-IP: 195.171.43.25 X-AOL-SPF: domain : blacksheep.org SPF : none Hello Jim, Thanks for the detailed observation. Under the hood (of SL) there is a 'worker thread' for the audio processing which currently uses a high priority - possibly too high, possibly higher than the thread used for the USB driver's own thread which actually communicates with the external USB device. The effect of 'sporadically lost samples' seems to depend a lot on the USB device and/or its driver software. For example, I use the E-MU 0202 which doesn't give any phase glitches (I use it to monitor absolute phases of MSK signals on VLF over a long time). The E-MU a fast (ARM-) microcontroller built inside, which obviously buffers enough enough audio samples internally to avoid these drop-outs. For very cheap USB audio devices (which presumable do not contain a microcontroller for audio buffering and processing) it may help to reduce the priority of SL's own 'worker thread' to avoid interrupting the USB I/O thread. This will be added in one of the next releases. All the best, Wolf DL4YHF . Am 06.05.2012 17:14, schrieb James Moritz: > Dear Andy, LF Group, > > A bit late, but never mind... > >> Has anyone tried using an external USB soundcard with a separate >> locked clock? Most work from a 12MHz crystal which can be replaces >> with a GPS locked source without too much effort. But I can't help >> wondering if there will be subsequent USB synchronisation glitches >> upsetting the input sampling. > > > I can confirm that glitches do occur with USB sound cards. I have > found this to be a perennial problem trying to use such a sound card > with the laptops I have available. For 9kHz reception, the relatively > rapid temperature fluctuations inside the laptop, and resulting cyclic > drift of the internal soundcard sampling frequency interfere with the > operation of DL4YHF's ingenious sample rate correction facility in > SpecLab, making the internal sound card unusable for FFT resolution > below a few millihertz. I found my USB soundcard solved this > particular problem quite well, but introduced glitches that made > achieving FFT resolution in the uHz range impractical. > > Watching Speclab's sample rate correction "history" window, the USB > card sample rate typically starts off a few hundred ppm low (much > larger than the actual clock frequency error), but remaining stable to > within a few ppm, but then at unpredictable intervals abrupt jumps in > sample rate of a similar order of magnitude occur, with corresponding > "blips" on the spectrogram traces. The reported sample rate is always > lower than the nominal value, suggesting that some samples are being > periodically discarded somehow. > > The sound card uses a single-chip integrated audio codec and USB > transceiver, using a single 12MHz crystal. I can't really believe in > "USB slippage" in the hardware - surely losing some of the data would > either be handled quietly by the USB error checking, or result in > endless error messages. The same sound card seems to work in a > glitch-free way when plugged into my desktop machine, where the > reported sample rate error is in line with the error in the crystal > frequency. > > Cheers, Jim Moritz > 73 de M0BMU > > >