Return-Path: Received: from rly-mg04.mx.aol.com (rly-mg04.mail.aol.com [172.20.83.110]) by air-mg03.mail.aol.com (v126.13) with ESMTP id MAILINMG034-a0a4b16b702197; Wed, 02 Dec 2009 13:50:52 -0500 Received: from post.thorcom.com (post.thorcom.com [193.82.116.20]) by rly-mg04.mx.aol.com (v125.7) with ESMTP id MAILRELAYINMG044-a0a4b16b702197; Wed, 02 Dec 2009 13:50:44 -0500 Received: from majordom by post.thorcom.com with local (Exim 4.14) id 1NFuGX-0006i8-K7 for rs_out_1@blacksheep.org; Wed, 02 Dec 2009 18:49:29 +0000 Received: from [83.244.159.144] (helo=relay3.thorcom.net) by post.thorcom.com with esmtp (Exim 4.14) id 1NFuGW-0006hz-FB for rsgb_lf_group@blacksheep.org; Wed, 02 Dec 2009 18:49:28 +0000 Received: from cmsout01.mbox.net ([165.212.64.31]) by relay3.thorcom.net with esmtp (Exim 4.63) (envelope-from ) id 1NFuGV-0007Nu-GU for rsgb_lf_group@blacksheep.org; Wed, 02 Dec 2009 18:49:28 +0000 Received: from cmsout01.mbox.net (cmsout01-lo [127.0.0.1]) by cmsout01.mbox.net (Postfix) with ESMTP id 48A042ACF8B for ; Wed, 2 Dec 2009 18:49:16 +0000 (GMT) Received: from cmsapps03.cms.usa.net [165.212.11.132] by cmsout01.mbox.net via smtad (C8.MAIN.3.58V) with ESMTP id XID643NLBsxq6720X01; Wed, 02 Dec 2009 18:49:16 -0000 X-USANET-Source: 165.212.11.132 IN dibene@usa.net cmsapps03.cms.usa.net X-USANET-MsgId: XID643NLBsxq6720X01 Received: from [192.168.1.4] [151.47.216.216] by cmsapps03.cms.usa.net (ESMTPA/dibene@usa.net) via mtad (C8.MAIN.3.53P) with ESMTPA id 000NLBsxo9040M39; Wed, 02 Dec 2009 18:49:14 -0000 X-USANET-Auth: 151.47.216.216 AUTH dibene@usa.net [192.168.1.4] Message-ID: <4B16B6A7.9000805@usa.net> Date: Wed, 02 Dec 2009 19:49:11 +0100 From: Alberto di Bene User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: rsgb_lf_group@blacksheep.org References: <200912021848460547.0592D856@smtp2.numeo.fr> In-Reply-To: <200912021848460547.0592D856@smtp2.numeo.fr> X-Enigmail-Version: 0.96.0 Z-USANET-MsgId: XID000NLBsxo9040X39 X-Spam-Score: 0.0 (/) X-Spam-Report: autolearn=disabled,none Subject: Re: LF: Sound card sampling rate 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-IP: 193.82.116.20 X-Mailer: Unknown (No Version) John RABSON wrote: > I am running a USB-connected Creative Labs sound blaster model SB0270 with Argo V1 build 134 on an XP SP3 system. > How do I find out the sampling rate, please? The sampling rate of a sound card up to Windows 98 used to be set at the hardware level by the program that used the card. The program called a Windows API telling it that it should set the card, let's say, at 11025 Hz as sampling frequency. If the card was capable of that rate, ok, otherwise Windows came back with an error to the requesting program. Windows XP changed this scenario. If the card is not capable at the hardware level to support a specific sampling rate, then Windows silently does a under-the-hood software resampling, so that to please the requesting program, no matter what the requested sampling rate is. Many manufacturers of cheap sound cards or sound chips took advantage of this, designing sound cards that were capable of 48 kHz only, then relying on Windows to provide the other rates. Needles to say, the resampling done by Windows is far from optimal... that's why the manufacturers of sound cards intended for serious musical applications (studio recording, etc.) do clearly specify in the specs of the card that the various sampling rates are 'hardware sampling rates', no Windows involved... That said, and coming to Argo, when you are in full band view mode, Argo sets the sampling frequency at 11025 Hz, while in one of the QRSS modes it is set to 5125 Hz. In CW mode it is set to 22050 Hz. When I will find the time to rejuvenate Argo, I will change that. I will ask Windows to sample at 48 kHz, and this will give me the real hardware sampling rate, then I will use the fractional ratio resampling code that I wrote for Winrad, which works better than Windows resampling, to resample down to the needed sampling rate. But, as said, this will happen when I will find the time.... 73 Alberto I2PHD