From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta06ps.bigpond.com ([144.135.25.138]) by speech.braille.uwo.ca with esmtp (Exim 3.34 #1 (Debian)) id 16r8iS-0005Eo-00 for ; Fri, 29 Mar 2002 21:35:41 -0500 Received: from data.home ([144.135.25.84]) by mta06ps.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GTRLVI00.JQM for ; Sat, 30 Mar 2002 12:35:42 +1000 Received: from CPE-144-136-137-64.qld.bigpond.net.au ([144.136.137.64]) by psmam06.mailsvc.email.bigpond.com(MailRouter V3.0i 110/472285); 30 Mar 2002 12:35:42 Received: from geoff by data.home with local-esmtp (Exim 3.12 #1 (Debian)) id 16r8iP-0000Nf-00; Sat, 30 Mar 2002 12:35:37 +1000 Date: Sat, 30 Mar 2002 12:35:36 +1000 From: Geoff Shang To: speakup@braille.uwo.ca Subject: Re: alsa and sox questions In-Reply-To: <20020330085344.C19619@joana.gotss.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Hi: Unless your card is noisy, getting the exact volume is not that big of a deal, as you can normalise it later. To do this, do the following: 1. Record your material at a safe level (i.e. at one where the levels do not clip). 2. Assuming you called it recording.wav, do the following: sox recording.wav -e stat This will print a number of statistics about the file. The final one will look something like this: Volume adjustment: 1.000 If the number is above 1.0, it means that the file can be amplified without it clipping. The above example is for a file that is already as loud as it can go. 3. Now do the following: sox -v recording.wav normalised_recording.wav Where is the value in the output as shown above. This will make a copy of your recording that can be as loud as possible without clipping (i.e. it is normalised). Geoff. -- Geoff Shang ICQ number 43634701 Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html