Return-Path: Received: (qmail 27745 invoked from network); 26 Dec 2000 23:03:45 -0000 Received: from unknown (HELO murphys-inbound.servers.plus.net) (212.159.14.225) by 10.226.25.101 with SMTP; 26 Dec 2000 23:03:45 -0000 Received: (qmail 29444 invoked from network); 26 Dec 2000 23:06:54 -0000 Received: from unknown (HELO post.thorcom.com) (212.172.148.70) by murphys with SMTP; 26 Dec 2000 23:06:54 -0000 Received: from majordom by post.thorcom.com with local (Exim 3.16 #1) id 14B34f-00024t-00 for rsgb_lf_group-outgoing@blacksheep.org; Tue, 26 Dec 2000 23:00:05 +0000 Received: from smtp-1.visp.telinco.net ([212.1.130.1]) by post.thorcom.com with esmtp (Exim 3.16 #1) id 14B34e-00024o-00 for rsgb_lf_group@blacksheep.org; Tue, 26 Dec 2000 23:00:05 +0000 Received: from [212.1.135.40] (helo=g4jnt) by smtp-1.visp.telinco.net with smtp (Exim 3.16 #1) id 14B2lD-00066G-00 for rsgb_lf_group@blacksheep.org; Tue, 26 Dec 2000 22:40:00 +0000 Message-ID: <002c01c06f8d$6f923aa0$288701d4@g4jnt> From: "Andrew Talbot" To: rsgb_lf_group@blacksheep.org Subject: LF: Re: Off topic - Soundblaster programming Date: Tue, 26 Dec 2000 22:44:40 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Precedence: bulk Reply-To: rsgb_lf_group@blacksheep.org X-Listname: rsgb_lf_group Sender: I don't know about the mic input, I woulf have thought an ALC action on this input was rather dependant on the particular machine / soundcard in use, but it certainly does not apply to the line input - at least I've never seen it on a wide range of soundcards over the years. Do you ned to make your measurements in real time ? If you can save to a .WAV file using a prog like sound recorder, or even Spectrogram, you'll have a lot more flexibility in what can be measured. The .WAV file has quite a straightforward file structure if you want to write your own software. I have made considerable use of this technique for comms signal analysis and synthesis and never had any non-linear effects other than those caused by genuine analogue side problems ! Andy G4JNT > >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 > > > >