Return-Path: Received: (qmail 29676 invoked from network); 26 Dec 2000 18:39:38 -0000 Received: from unknown (HELO warrior-inbound.servers.plus.net) (212.159.14.227) by extortion.plus.net with SMTP; 26 Dec 2000 18:39:38 -0000 Received: (qmail 1432 invoked from network); 26 Dec 2000 18:42:08 -0000 Received: from unknown (HELO post.thorcom.com) (212.172.148.70) by warrior with SMTP; 26 Dec 2000 18:42:08 -0000 X-Priority: 3 X-MSMail-Priority: Normal Received: from majordom by post.thorcom.com with local (Exim 3.16 #1) id 14Ayx5-00017A-00 for rsgb_lf_group-outgoing@blacksheep.org; Tue, 26 Dec 2000 18:35:59 +0000 Received: from jaws.cisco.com ([198.135.0.150] helo=cisco.com) by post.thorcom.com with esmtp (Exim 3.16 #1) id 14Aywu-000175-00 for rsgb_lf_group@blacksheep.org; Tue, 26 Dec 2000 18:35:49 +0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Received: from virgin.net (stbryant-isdn-home.cisco.com [10.49.137.202]) by cisco.com (8.8.8/2.6/Cisco List Logging/8.8.8) with ESMTP id SAA02832 for ; Tue, 26 Dec 2000 18:35:01 GMT Message-ID: <3A48E4C7.1BD37753@virgin.net> Date: Tue, 26 Dec 2000 18:34:48 +0000 From: "Stewart Bryant" X-Mailer: Mozilla 4.73 [en]C-CCK-MCD (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: rsgb_lf_group@blacksheep.org Subject: LF: Off topic - Soundblaster programming Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group Sender: I know that it is off topic, and I apologies, but there is a good chance that the expertise will be on this list, and its always best to ask friends first. I am trying to measure the absolute value of an audio signal using the sound (microphone) input on my PC. (For a radio application, but not LF). Having beat my head against various brick walls until 2am the last few nights I now have a program that can get the samples from the sound card. After further beating of head, I discovered that the reason that I was not seeing the linear change with amplitude that I was expecting was because there is some sort of vogad action in the microphone audio input. Does anyone know: 1) How to turn this off 2) If the same applies to the line input If anyone has an example program for simple audio input via Vbasic that would be even better. There is a Vbasic code example that shows the use of the volume feature of the SB card to measure amplitude, but when I tried it (before I realised that vogad was going on) it seemed to have some strange semi log characteristic (ie it stayed constant and then suddenly increased as I varied the amplitude through the mixer control). Has anyone else had any experience making linear measurements through this feature? Thanks in advance to anyone that can help 73 Stewart G3YSX